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.