cut is a Unix command line utility which is used to extract sections from each line of input.

learn more… | top users | synonyms

1
vote
1answer
481 views

Cut - the delimiter must be a single character

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: ...