Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH 1/2] t8005: avoid grep on non-ASCII data

From: Eric Sunshine <hidden>
Date: 2016-06-15 23:08:20

On Sun, Feb 21, 2016 at 6:31 PM, Junio C Hamano [off-list ref] wrote:
Eric Sunshine [off-list ref] writes:
quoted
These tests all crash and burn with BSD sed (including Mac OS X) since
you're not restricting yourself to BRE (basic regular expressions).
You _could_ request extended regular expressions, which do work on
those platforms, as well as with GNU sed:

    sed -nEe "/^(author|summary) /p" ...
An obvious way to avoid any RE is to write it as two separate
statements.
Yes, that's even better; now I feel stupid for not thinking of it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help