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

2006-03-15 Thread Dan Jacobson
$ 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. ___ Bug-bash mailing list B

Hints for an extension

2006-03-15 Thread Kaspar Giger
Hi all, because I didn't know where else I should pose my question, I ask you: I want to extend the Bash with an XPath-like syntax to select files efficiently. I already wrote such a library and want to integrate it in the Bash. So can you give me some tips where to start within the Bash-source