Bash error in quote handling

Arthur I Schwarz Arthur_I_Schwarz@raytheon.com
Tue Feb 15 13:10:00 GMT 2005





I think this is an error?

     star="*"
     echo $star  == <directory> looks good
     star=*
     echo $star  == <directory> looks good

     star='*'
     echo $star  == <directory> shouldn't this be *?
     star=\*
     echo $star  == <directory> shouldn't this be *?
     star='\*'
     echo $star  == \* shouldn't this be *?
     star="\*"
     echo $star  == \* shouldn't this be *?

bash 2.0.5b
Cygwin 1.5.9-1


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list