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?
Well, as this is a C/C++ forum, probably not.