Mar 26, 2009 at 10:08pm
I am trying to use pattern matching in case under shell script but I am getting some problem.
I want to perform some action having filename as : [s-z]*.pbrt
but when I am writing
case "$file" in
[s-z]*.pbrt) echo "Successful"
;;
*) ;;
esac
its not working. Can somebody help me out?
Mar 27, 2009 at 12:50am
Well, as this is a C/C++ forum, probably not.