Re: [PATCH] git-cvsimport.perl: Print "UNKNOWN LINE..." on stderr, not stdout.
- From
Jeff King <peff@peff.net>
- Date
- Aug 5, 2008, 15:35 UTC
- Message-ID
- <20080805153558.GA22111@sigill.intra.peff.net>
- In-Reply-To
- <20080805152836.GB21901@sigill.intra.peff.net>
On Tue, Aug 05, 2008 at 11:28:36AM -0400, Jeff King wrote:
> $ perl -ne '/print (\S+)/ && print "$1\n" git-cvsimport.perl | > grep '^#' | wc -l
Urgh, somehow I managed to get a typo into my cut and paste. It should be
grep '^"'
(i.e., we are getting rid of "print STDERR" and "print $fh"; this is admittedly not very robust, but I just wanted an approximation of how many there were).
-Peff