git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jeff KingNext: Jim Meyering
Message 3 of 4 in “git-cvsimport.perl: Print "UNKNOWN LINE..." on stderr, not stdout.”
  1. git-cvsimport.perl: Print "UNKNOWN LINE..." on stderr, not stdout.Jim Meyering, Aug 5, 2008
  2. Jeff KingAug 5, 2008
  3. Jeff KingAug 5, 2008
  4. Jim MeyeringAug 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.