Show Password


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 10-30-2013
Scrutinizer's Unix or Linux Image
Scrutinizer Scrutinizer is offline Forum Staff  
Join Date: Nov 2008
Last Activity: 16 July 2018, 5:46 PM EDT
Location: Amsterdam
Posts: 11,853
Thanks: 546
Thanked 3,469 Times in 3,057 Posts
Note: -a may happen to be supported for historical reasons, however, it is not part of POSIX so -e should be used instead.

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)