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

Re: [SCRIPT] chomp: trim trailing whitespace

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
May 27, 2006, 15:28 UTC
Message-ID
<46a038f90605270828u7842ea48hda07331388694db2@mail.gmail.com>
In-Reply-To
<4477B905.9090806@garzik.org>

I love perl golf for this kind of stuff... but git-stripspace is part of git already. Even then, I tend to do it with perl -pi -e '' constructs ;-)

cheers,
m
Previous: Keith OwensNext: Linus Torvalds
Message 9 of 11 in “[SCRIPT] chomp: trim trailing whitespace”
  1. Jeff GarzikMay 27, 2006
  2. Jan EngelhardtMay 27, 2006
  3. Thomas GlanzmannMay 27, 2006
  4. Neil BrownMay 27, 2006
  5. Jeff GarzikMay 27, 2006
  6. Dmitry FedorovMay 27, 2006
  7. Jan EngelhardtMay 27, 2006
  8. Keith OwensMay 28, 2006
  9. Martin LanghoffMay 27, 2006
  10. Linus TorvaldsMay 27, 2006
  11. Johannes SchindelinMay 28, 2006

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.