"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.
[Prev in Thread]
Current Thread
[Next in Thread]
"syntax error near unexpected token `done'" could be more wordy,
Dan Jacobson<=