News for hackers. Stuff that matters.
Re:JavaScript quiz that may confuse you by mjevans on Tuesday May 03, 2022 @07:41PM (#31255038)
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.

Re:JavaScript quiz that may confuse you by SemanticStrengh on Tuesday May 03, 2022 @08:10PM (#31255281)
Yes semi colons can be useful for shells and other DSLs