I want to compare file name string with file mask in a ksh
shell script. Can you please correct the syntax?
if [ "NPER20200422TEST.PTN" = "NPER*.PTN" ] then echo "File matched" else echo "File not matched" fi
I want to match my file string with given file mask.