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

Re: [PATCH v2] t: allow use of "sed -E"

From
Todd Zullinger <tmz@pobox.com>
Date
Mar 14, 2026, 23:16 UTC
Message-ID
<abXsWp5gYbxdHbkz@teonanacatl.net>
In-Reply-To
<abKG1U3fVuNV1w_9@fruit.crustytoothpaste.net>
brian m. carlson wrote:
Show 6 quoted lines
> so this appears to be reasonably well supported across major open source
> distributions.  The irony is that Linux is most likely the OS holding us
> back here, since older versions labeled this `-r` and the newer `-E`
> wasn't available in Ubuntu 16.04.  I myself only recently learned about
> the fact that `-E` had been officially standardized, since I'd been
> using `-r` for a long time.

IIRC, GNU sed supported -E for a very long time before it was documented. In a quick search, I see it added in v4.1a, in commit 3a8e165 (treat cygwin CR/LF correctly (and by design, not by chance), 2006-08-07).

https://cgit.git.savannah.gnu.org/cgit/sed.git/diff/sed/sed.c?id=3a8e165
-- 
Todd
Previous: Junio C Hamano
Message 9 of 9 in “[RFC] t: allow use of "sed -E"”
  1. Junio C HamanoMar 11, 2026
  2. Junio C HamanoMar 11, 2026
  3. Ramsay JonesMar 11, 2026
  4. Junio C HamanoMar 12, 2026
  5. t: allow use of "sed -E"Junio C Hamano, Mar 12, 2026
  6. Patrick SteinhardtMar 12, 2026
  7. brian m. carlsonMar 12, 2026
  8. Junio C HamanoMar 12, 2026
  9. Todd ZullingerMar 14, 2026

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.