Hello all,
I am encountering a problem while using the if statement in C-shell
In the script below I check if $muboy file is available in
either /net/sukop/reprocess or /net/sukop/reprocess1 or
/net/sukop/reprocess2 or /net/sukop/reprocess3
Hence I use
if ( -f /net/sukop/reprocess*/$muboy_file) then
. .....
< do some stuff>
endif
when i type /net/sukop/reprocess*/04_data_ofl/ I wanted to use it as
a wildcard
to match one from reprocess/reprocess1/reprocess2/reprocess3.
However I get the error message that
/net/sukop/reprocess*/04_data_ofl/muboy.004984.000001 No match
which means that the directory name is being interprested
anyhow can someone tell me the solution and if I can use a wild-card
at all for this?
Thanks
Melroy