Unix/Linux Go Back    



IF -a condition meaning.

UNIX for Dummies Questions & Answers




Kindly Note - This is a Single User Post by Forum Member Scrutinizer Regarding:
IF -a condition meaning..
Please Follow The Primary Link Above to View the Full Discussion.

   
Old Unix and Linux 10-30-2013   -   Original Discussion by abhi_123
Scrutinizer's Unix or Linux Image
Scrutinizer Scrutinizer is offline Forum Staff  
Moderator
 
Join Date: Nov 2008
Last Activity: 22 February 2018, 4:42 AM EST
Location: Amsterdam
Posts: 11,734
Thanks: 536
Thanked 3,406 Times in 3,001 Posts
Note: -a may happen to be supported for historical reasons, however, it is not part of POSIX so -e should be used instead.

Quote:
An early proposal used the KornShell -a primary (with the same meaning), but this was changed to -e because there were concerns about the high probability of humans confusing the -a primary with the -a binary operator.
test: Rationale
The Following User Says Thank You to Scrutinizer For This Useful Post:
Yoda (10-30-2013)