3 Aug
2009
3 Aug
'09
15:19
Michal Hrusecky wrote:
Per Jessen - 8:59 29.07.09 wrote:
Duaine & Laura Hechler wrote:
Here is the simplest:
IF UPPER(LINE) = "QUIT" THEN EXIT/
/But this is in REXX
Which, given the subject, isn't applicable :-)
Rewritten to shell it would be something like
[ "`echo "$line" | tr [a-z] [A-Z]`" = "QUIT" ] && break
Good grief read the prior messages in the thread. There is no need and no excuse to spawn child shells and other processes for this. -- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org