1
I am trying to cut the information from a variable of a variable. I am using csh. Ex:
setenv time \`date | cut -d ' ' -f 4\`
echo $time
setenv hour \`$time | cut -d \':\' -f 1\`
echo $hour
Output:
09:18:47
09:18:47: Command not found.
cut: the delimiter must be a single character
Try \`cut --help\' for more information.
Can some one please help me?