Microsoft
Software
Hardware
Network
Question : IF..THEN..ELIF conditions
I have inherited some code that I need to understand.
Ine of the conditions says:
if [ condition ]
then
..something..
elfif [condition -a condition ]
then
... something else ...
fi
I assume the -a means logical AND but I cant see that documented anywhere.
Can anyone confirm that please?
Its Korn Shell on AIX
Answer : IF..THEN..ELIF conditions
Hello stummj,
http://www.cs.princeton.ed
u/~jlk/kor
nshell/doc
/
man93.htm
l#Conditio
nal%20Expr
essions
-a file
Same as -e below. This is obsolete.
...
-e file
True, if file exists.
Regards,
sunnycoder
Random Solutions
How to purge deleted items only from Exchange mailboxes
How to Call GoogleBot Frequently
Office 2007 Mail Merge Issue between Word and Access
preloading a flv movie prior to start of .swf file
SQL Server 2005 Reporting Services - ReportViewer Webform Issue - Error: 'RSClientController' is undefined
Query contains an outer-join request that is not permitted - Sybase to SQL Server conversion
Find a function which best suits the data
Sendmail Spamming
Printing out gridlines on a report
Automatically Scheduled Mail