A shell parser, formatter, and interpreter with bash support; includes shfmt
BSD 3-Clause "New" or "Revised" License
7.35k
stars
346
forks
source link
Comments in a subshell are moved every time the formatter runs #1084
Open
Ashymad opened 4 months ago
Example
file.sh
:Running
shfmt -w -l
1st time produces (2 spaces in front of the comment):Running
shfmt -w -l
2nd time produces (3 spaces in front of the comment):Every time you run
shfmt
adds another space in front of the comment, never satisfied with the amount of them.