Please anyone help me here.
I have the follwoing command in my scrip:
if test -e c:/dir/file*.dat
then
echo whatever
fi
this is giving me some systax error on test! and I know for sure that I have files in that directory that meet that criteria. I checked it with na 'ls c:/dir/file*.dat' and it retruns me a wack of them.
How do I test if there exist any file that match that combination?
Any help is appreciated,
thank you in advance
Jeya.
I have the follwoing command in my scrip:
if test -e c:/dir/file*.dat
then
echo whatever
fi
this is giving me some systax error on test! and I know for sure that I have files in that directory that meet that criteria. I checked it with na 'ls c:/dir/file*.dat' and it retruns me a wack of them.
How do I test if there exist any file that match that combination?
Any help is appreciated,
thank you in advance
Jeya.