We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take this piece of shell:
$ cat f.sh if true \ ; then echo yes fi $ bash f.sh yes $ shfmt f.sh if true \ ; then echo yes fi
Note how it runs, but shfmt didn't improve it that much. It could do better, instead producing:
$ cat f2.sh if true then echo yes fi $ bash f2.sh yes $ shfmt f2.sh if true then echo yes fi
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Take this piece of shell:
Note how it runs, but shfmt didn't improve it that much. It could do better, instead producing:
The text was updated successfully, but these errors were encountered: