|
Is there a way to get wild character support in the
file-exist test expression, I was able to do this in SCO's sh shell, but bash on
linux doesnt seem to support it.
For example:
if [ -f mystuff*.zip ]
then
echo "mystuff files exist"
fi
Paul Meyers
Systems Administrator Community Computer Service 15 Hulbert St. Auburn, NY 13021 Ph (315) 255-0900 Fx (315) 255-0416 |
- Re: meta char in [ -f xxxx ] test Paul Meyers
- Re: meta char in [ -f xxxx ] test Bob Proulx
