While troubleshooting an issue, I came across these entries given below in one of the shell scripts used by our application. This was written by someone who no longer works in the company and I am trying to figure out what the script does step-by-step. We do have an environment variable $PAT_HOME. By using the
% at both the ends, is it calling the environment variable just like $PAT_HOME? In that case, how are using % signs different from using when working with environment variables?
echo "cd " %PAT_HOME% cd %PAT_HOME% # P: echo "pan.sh -file $kmrfile $logfile_location $csvfile" cd $PAT_HOME sh pan.sh -file $kmrfile $logfile_location $csvfile