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: 23 November 2017, 3:53 PM EST
Location: Amsterdam
Posts: 11,626
Thanks: 518
Thanked 3,382 Times in 2,981 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)