stank icon indicating copy to clipboard operation
stank copied to clipboard

option to encourage exec

Open mcandre opened this issue 2 years ago • 0 comments

Non-library POSIX family shell scripts should generally end in an exec command, in order to save memory.

Scripts that use list traps or zsh function traps, should not use exec, because of the resulting ambiguous control flow.

Ignore commented lines.

Ignore compound commands involving pipe (|), logical and (&&), logical or (||), or logical not (!).

Note that compound commands may straddle multiple lines.

mcandre avatar Jan 30 '23 18:01 mcandre