[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding Files to a New Directory to the Repository
From: |
John Smith |
Subject: |
Re: Adding Files to a New Directory to the Repository |
Date: |
6 Mar 2006 14:01:39 -0800 |
User-agent: |
G2/0.2 |
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?