3 ms·
Shell commands can be written as a list A series of individual invocations of arcane commands; sometimes with pipes Though it is not uncommon for one-liners t
by mjevans 5y ago
Shell commands can be written as a list
A series of individual invocations of arcane commands; sometimes with pipes
Though it is not uncommon for one-liners to exist (sometimes with sub-shells). In that case the semicolons are not optional. Even in cases where another type of escape is used to visually break up the one liner into a list like series of commands which happen to be run concurrently; most frequently for really long pipe-sets.
- SemanticStrengh 5y agoYes semi colons can be useful for shells and other DSLs