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
Veritas 10 not backing up on server where new install of SQL 2005 was done
AJAX with timer
ORACLE 11g RAC ip change
DHCP problems.
Event ID 1029 - Is this a sign of intrusion?
Mounting CDROM
Joining a portion of a table to itself
Link to File Maker Pro
Questions/problems using Skype with Windows Mobile smartphone
Substr - Not recognized function, alternative string?