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!
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!