bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #44115] test EXPR1 -a EXPR2 always true when EXPR1 deals with exist


From: adrian15
Subject: [bug #44115] test EXPR1 -a EXPR2 always true when EXPR1 deals with existing filesystem object
Date: Thu, 29 Jan 2015 23:58:45 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Follow-up Comment #2, bug #44115 (project grub):

Yes, it helps!

Thank you very much!

Now the results are the expected ones.

-----

grub> if test "one" = "one" -a "one" = "two" ; then echo "yes" ; else echo
"no" 
; fi
no
grub> if test -f $prefix/grub.cfg -a "one" = "two" ; then echo "yes" ; else
echo
 "no" ; fi  
no
grub> if test "one" = "two" -a -f $prefix/grub.cfg ; then echo "yes" ; else
echo
 "no" ; fi  
no

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44115>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]