Mike Frysinger wrote: > On Sunday 05 February 2006 00:41, Paul Jarc wrote: >> [EMAIL PROTECTED] wrote: >>> [kaneda<-ogorasek]~$if [ ! -a /etc/passwd ] ; then echo si ; fi >> -a is used as a binary "and" operator here. The expressions "!" and >> "/etc/passwd" are nonempty strings, so both are considered true, and >> the overall result is true. > > better to read the existing history thus far on the -a subject > http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00015.html
Paul is correct, this is not a bug. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash