
shfmt
List of commands for shfmt:
-
shfmt:tldr:3c95b shfmt: Write the result to the file instead of printing it to the terminal.$ shfmt --write ${filename}try on your machineexplain this command
-
shfmt:tldr:b145f shfmt: Simplify the code, removing redundant pieces of syntax (i.e. removing "$" from vars in expressions).$ shfmt --simplify ${filename}try on your machineexplain this command
-
shfmt:tldr:bf221 shfmt: Print a formatted version of a shell script.$ shfmt ${filename}try on your machineexplain this command
-
shfmt:tldr:efb31 shfmt: List unformatted files.$ shfmt --list ${path-to-directory}try on your machineexplain this command