tekinfarmland
Technical User
this command works
CSTIME=$(grep "PA3.1" Jobcheck.tbl | cut -f2 -d',')
but when I replace the values with variables with same values
CSTIME=$(grep $JNAME $TBL | cut -f2 -d',')
I get "error can't open Jobcheck.tbl"
Am I missing special characters in the 2nd grep command?
Any help would be appreciated.
CSTIME=$(grep "PA3.1" Jobcheck.tbl | cut -f2 -d',')
but when I replace the values with variables with same values
CSTIME=$(grep $JNAME $TBL | cut -f2 -d',')
I get "error can't open Jobcheck.tbl"
Am I missing special characters in the 2nd grep command?
Any help would be appreciated.