[plug] Shell Scripting Confusion
John Summerfield
summer at OS2.ami.com.au
Wed Feb 9 14:26:11 WST 2000
>
> if [ -n ${output}"" ] ; then
It's nothing to do with the question at hand, BUT
In this context
[ $n > $y ]
the greather-than symbol is a redirection operator.
You would most likely mean
[ $n \> $y ]
If you happened to have the name of a Very Important File in $y at the
time, tough. You keep backups, don't you?
Handy hint 2
help test
--
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
More information about the plug
mailing list