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

Re: [PATCH] t9001: avoid not portable '\n' with sed

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 4, 2014, 19:01 UTC
Message-ID
<xmqq1tv4v6qg.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140604184604.GC14457@serenity.lan>
John Keeping <john@keeping.me.uk> writes:
Show 8 quoted lines
> Note that quoted section of POSIX says "embedded in the pattern space";
> under the description of the "s" command, it says:
>
> 	The replacement string shall be scanned from beginning to end.
> 	[...]
> 	The meaning of a <backslash> immediately followed by any
> 	character other than '&', <backslash>, a digit, or the delimiter
> 	character used for this command, is unspecified.
Very true.
Previous: John KeepingNext: Andreas Schwab
Message 6 of 8 in “t9001: avoid not portable '\n' with sed”
  1. t9001: avoid not portable '\n' with sedTorsten Bögershausen, Jun 4, 2014
  2. Junio C HamanoJun 4, 2014
  3. Junio C HamanoJun 4, 2014
  4. Torsten BögershausenJun 4, 2014
  5. John KeepingJun 4, 2014
  6. Junio C HamanoJun 4, 2014
  7. Andreas SchwabJun 4, 2014
  8. David KastrupJun 4, 2014

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.