Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2006
T/Csh Scripting - ignoring case in find?
I'm writing a script that takes a command line variable, and then generates an object file based on that variable.
The main function of the script is to check to make sure the code built correctly (or indeed, at all), and so I check for the existance of the object file using:
if (-f src/$component/$component.o) then echo "Built OK" endif
So, my question is:
Is there any argument I can put in the if statement to ignore the case? (ie so it'll just look for the file, regardless of case). I've tried the usual suspects (-i, etc) with no luck.