Hi I have a small script (script name is: test1.sh) that looks like this
PRG=$0
data=`expr $PRG : '.*\/.*'`
echo $data
When I run this I see output as
10
I could not understand the regular expression written in the second line of the script. What would that mean?