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

Re: Help a sed noob

From
David Kastrup <dak@gnu.org>
Date
Aug 4, 2007, 14:06 UTC
Message-ID
<85abt7gzs1.fsf@lola.goethe.zz>
In-Reply-To
<20070804135630.GC1605@lapse.madduck.net>
martin f krafft <madduck@madduck.net> writes:
Show 6 quoted lines
> also sprach Simon 'corecode' Schubert <corecode@fs.ei.tum.de> [2007.08.04.1426 +0200]:
>> s// is "match last regexp, so s/// is "match last regexp and replace with 
>> empty string.
>
> This fact is not in the manpage, AFAICT, at least not on Debian
> systems.

IIRC, this is a traditional _ed_ feature. I don't think it has ever been a traditional part of _sed_, but maybe some implementations have adopted this usage.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Previous: martin f krafftNext: Jeff King
Message 10 of 11 in “Help a sed noob”
  1. Nguyen Thai Ngoc DuyAug 3, 2007
  2. Junio C HamanoAug 3, 2007
  3. Nguyen Thai Ngoc DuyAug 4, 2007
  4. René ScharfeAug 3, 2007
  5. martin f krafftAug 4, 2007
  6. Jeff KingAug 4, 2007
  7. martin f krafftAug 4, 2007
  8. Simon 'corecode' SchubertAug 4, 2007
  9. martin f krafftAug 4, 2007
  10. David KastrupAug 4, 2007
  11. Jeff KingAug 4, 2007

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.