decisions DECIDED

312. swish has one way to do each job in its language

(Section number provisional until the merge queue lands it.)

Ruled 2026-10-27 (UTC), while ruling §160 (what a subshell copies). That ruling needed to know whether ( ... ) keeps its Unix spelling, and the answer turned on a rule that milestone 47 (navigation and naming) states for the shell's commands and that nobody had stated for its language. This section states it. It amends the language half of the rule in milestone 47's "Why it matters"; the commands half stands unchanged.

What is being decided

Milestone 47 set one bar for the whole shell: gratuitous divergence from Unix taxes every user forever, so keep what Unix does unless the capability model forces a change. For commands (cd, pwd, ls, mkdir, rm) that bar is right and stays. For the language around the commands (how a line groups, scopes, substitutes, tests, quotes and sequences) it backfires. "Survive unchanged" invites every Unix form, and Unix has several forms for each job. The question is what bar governs the language.

The rule

What this rules on the spot

Prior art

fish, which this rule follows. fish later added &&, || and $( ) under user demand, which is why those stay here from the start. §160 weighed Nushell, Elvish and rc, which also give a scoped block one spelling.

How reversible it is

A rule about what to add is cheap to revise. What it protects is not: a language form lands in every script anyone writes (the same cost §160 names for a spelling), so the change that adds a form owes the showing, not a later cleanup.