[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Full Pathnames in cvs output ??
From: |
Jan Grant |
Subject: |
Re: Full Pathnames in cvs output ?? |
Date: |
Tue, 3 Apr 2001 14:44:02 +0100 (BST) |
On Tue, 3 Apr 2001, Peter Biechele wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Is it possible to get the full pathnames from cvs output ?? For example, if
> you use "cvs update" in a whole directory tree recursivly, I would like to
> extract just the new files by using "grep ?". Then I only get the filenames,
> but I would like to have the full pathnames additionally ?
>
> E.G. A list like:
>
> ? /home/guest/project/list1/name1.exe
> ? /home/guest/project/list1/name2.exe
> ? /home/guest/project/list6766/namsdfdsfe1.exe
> ? /home/guest/project/list9898/nam.exe
>
>
> Thank you for any help !
> Peter Biechele
cvs update | awk '/^?/{print "'`pwd`'/" $2}'
should do it.
--
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 address@hidden
perl -e 's?ck?t??print:perl==pants if $_="Just Another Perl Hacker\n"'