I tried:
cvs rlog -R . | grep '^cvs rlog:' | awk '{print $NF}'
but the grep returns 0 lines because everyline of cvs rlog -R . starts
with cvs rlog.
furthermore, I don't think $NF returns the # of fields as it is
supposed to in awk.
|A|B|C|D|
head -n 1 output.txt | awk -F"|" '{print $NF}'
prints a blank line.
the following prints "B":
head -n 1 output.txt | awk -F"|" '{print $3}'
B
Why?
_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs