We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
&>
>&
When shfmt sees a &>, it is broken onto a new line:
{ echo "foo" } &>/dev/null || { echo "bar" }
Becomes:
{ echo "foo" } & >/dev/null || { echo "bar" }
The transformation also breaks the code.
If you switch &> with >& this does not happen.
Activity