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
Turn off meeting forward notifications
COM port not found.
Deleting Files with Bash Script
Scripting newbie question
Sudden drop in Google ranking
"A required resource was unavailable"
Programatically forward outlook e-mail using vba
error while loading shared libraries: libXm.so.2: cannot load shared object file
How Do You Create Private Posts in Wordpress, or Hide Posts Until Logged in to Wordpress Site?
Validating dropdownlist cascading.