info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about imports and cvs update


From: Harry Putnam
Subject: Re: about imports and cvs update
Date: Tue, 16 Mar 2010 16:39:45 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Spiro Trikaliotis <address@hidden> writes:

> Hello,
>
> * On Tue, Mar 16, 2010 at 09:09:08AM -0500 Harry Putnam wrote:
>> Spiro Trikaliotis <address@hidden> writes:
>> 
>> > Otherwise, you might want to use something like:
>> >
>> > $ find . | grep -v \/CVS\/ | grep -v \/CVS$ | tr \\n \\0 | xargs -0 -n 10 
>> > cvs add --
>> 
>> Nice..  and thanks for the detailed exposition.  I've used unix like
>> OS for many yrs, and still often am slightly awed by the power of its
>> supposed simple tools in the hands of someone who knows how to use them.
>
> ... but this surely does *not* apply to my code above, nor to me. ;) 

OK, maybe the double use of grep -v could have been combined (but then
wouldn't be quite so apparent what its doing).  But
otherwise it is a nice display of how to use unix tools...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]