Am Don, 25. Okt 2001, 12:35:24 +1000 schrieb Anthony Towns: > > On Thu, Oct 25, 2001 at 02:27:33AM +0200, Jö Fahlke wrote: [...] > > if eval "$@"; then > ^^^^^^^^^^^^^^^^^^ > to > if "$@"; then [...]
Hehe, simplicity! I was wondering why the "eval" was there anyway. Be omitting it (or by extra-quoting the arguments) you lose the ability to pass multiple commands to repeat(), like this: repeat 5 "echo \"You have to press enter 5 times.\"; read" If this was intended, indeed every call to repeat() must be fixed. Jö. -- Kiss a non-smoker; taste the difference. -- fortune
msg12639/pgp00000.pgp
Description: PGP signature