chris01010
Programmer
Afternoon all,
Trying to run an IF statement within a script in KSH. Basically I want it to check whether a variable has a value set or whether it is blank.
I currently have the below, but needless to say it's not working. Can anyone spot where i'm going wrong?
If [ $FILE != '' ]
then .......
Any help gratefully appreciated.
Thanks
Chris
Trying to run an IF statement within a script in KSH. Basically I want it to check whether a variable has a value set or whether it is blank.
I currently have the below, but needless to say it's not working. Can anyone spot where i'm going wrong?
If [ $FILE != '' ]
then .......
Any help gratefully appreciated.
Thanks
Chris