bash_minifier icon indicating copy to clipboard operation
bash_minifier copied to clipboard

Wrong ';' after & in while loop, giving syntax error

Open jnuyens opened this issue 2 years ago • 0 comments

Example: #!/bin/bash while true do sleep 1 & done

Gives this with syntax error: while true;do sleep 1&;done

Should be without the ; before done because of the &: while true;do sleep 1&done

Thank you for maintaining this!

jnuyens avatar May 01 '22 21:05 jnuyens