[plug] Shell Scripting Confusion

Matt Kemner zombie at networx.net.au
Wed Feb 9 15:56:52 WST 2000


On Wed, 9 Feb 2000, Mike Holland wrote:

> Since $output is empty, that evaluates as  "if [ -n ]; then "
> which ought to at least give an error message?

Try it.
On my system "if [ -n ]" evaluates to true.
(Bash bug^H^H^Hundocumented feature?)

Which would be why Christian's having problems, and which can be
prevented, as suggested, by using the quotes

 - Matt




More information about the plug mailing list