sh icon indicating copy to clipboard operation
sh copied to clipboard

Multiple commands in one line

Open mastromberger opened this issue 1 year ago • 0 comments

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=""

mastromberger avatar Feb 21 '24 20:02 mastromberger