sh
sh copied to clipboard
Multiple commands in one line
I use in some scripts multiple commands in one line, e.g. variables with initial values. ACTION=0; TOCLIP=0; AMON=""; GEOM=""
shfmt -d suggests following - is there a way to keep multiple commands with a semicolon in one line?
-ACTION=0; TOCLIP=0; AMON=""; GEOM="" +ACTION=0 +TOCLIP=0 +AMON="" +GEOM=""