bin/102184: the -n switch of the test command does not work
Florian Meister
florian.meister at medienhaus.at
Thu Aug 17 13:20:23 UTC 2006
The following reply was made to PR bin/102184; it has been noted by GNATS.
From: Florian Meister <florian.meister at medienhaus.at>
To: Florian Meister <florian.meister at medienhaus.at>
Cc: Maxim Konovalov <maxim at macomnet.ru>, bug-followup at freebsd.org
Subject: Re: bin/102184: the -n switch of the test command does not work
Date: Thu, 17 Aug 2006 15:10:11 +0200
sorry - typo ... i used -f ...
> maybe a shell problem - what shell do you use ?
>
> when I do the following I can also reproduce the error:
>
> --snip--
> tpextu02# set testvar="lala"; [ -f $lala ]; echo $?
> 1
> tpextu02# set testvar="" ; [ -f $lala ] ; echo $?
> 1
> tpextu02# [ -f "lala" ] ; echo $?
> 1
> tpextu02# [ -f "" ] ; echo $?
> 1
> --snap--
>
> bye, florian
>
More information about the freebsd-bugs
mailing list