bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"syntax error near unexpected token `done'" could be more wordy


From: Dan Jacobson
Subject: "syntax error near unexpected token `done'" could be more wordy
Date: Thu, 16 Mar 2006 01:18:28 +0800

$ for i do case $i in *!*) echo $i;done
bash: syntax error near unexpected token `done'

Well OK, but you could also say "... while looking for esac ...".
I bet perl would say that if it had esacs.
Would help in big programs.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]