Hi
I want to replace time stamp in the following line
PROCNAME.Merge.exchMon.CODE.T_QSTART 08:45 read
assuming the new time stamp is 09:45 ; the line is getting replaced as below
:45 read
I'm trying to use the perl one liner in bash script
perl -pi -e 's/('$PROCNAME'.Merge.exchMon.'$CODE'.'$T_QSTART'.*)'$CURRENT_QSTART'(.*read)/$1'$NEW_QSTART'$2/g' $CONFIG
Can anyone please help me here with the correct perl one liner?
i'm not keen on using sed and i want to avoid temporary files
sed -i => illegal option error
OS version:
SunOS solvma1 5.11 11.4.9.5.0 i86pc i386 i86pc