kasavazala
Programmer
In the following script, I would like to see the time in the new file file1. But I am seeing ${timekey). Please let me know what to do.
d=`/usr/local/bin/cprevdate +2 | cut -f1 -d" "`
timekey=`ltime $d 000000`
sed 's/^/${timekey},/' file > file1
thanks in advance
d=`/usr/local/bin/cprevdate +2 | cut -f1 -d" "`
timekey=`ltime $d 000000`
sed 's/^/${timekey},/' file > file1
thanks in advance