-
-
Notifications
You must be signed in to change notification settings - Fork 166
Command vs Expression Mode
andychu edited this page Feb 5, 2017
·
7 revisions
Switching between syntaxes
In command syntax it is possible to switch to code syntax in one of the following ways:
Mish is a sublanguage within Mash for launching processes, with a similar syntax to a traditional shell.
By default, Mash is in "regular Mash" mode. If a command line starts or ends with !, the entire line is interpreted as a Mish command. If ! is issued by itself as a command, then Mash toggles into Mish by default, and the prompt changes from a $ to a !.