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
List all files on c drive with an eight character filename
merging a .reg file at boot in XP
SQL 2005 Pivot Query Help!
W32Time
Laptop NumLock coming ON at logon when I want it OFF.
WinXP Pro SP2, IE7 Runtime Error
Active Directory users profiles not always mapping correctly
Finding the right permutation of a list of words
ADsSecurity.dll Where is it?
Flash Preloading Images - reducing load time on website