Re: [PATCH 1/2] t8005: avoid grep on non-ASCII data
- From
Jeff King <peff@peff.net>
- Date
- Feb 22, 2016, 22:18 UTC
- Message-ID
- <20160222221811.GC18522@sigill.intra.peff.net>
- In-Reply-To
- <20160221234135.GA14382@river.lan>
On Sun, Feb 21, 2016 at 11:41:35PM +0000, John Keeping wrote:
Show 9 quoted lines
> My original sed version was: > > sed -ne "/^author /p" -e "/^summary /p" > > which I think will work on all platforms (we already use it in > t0000-basic.sh) but then I decided to be too clever :-( > > I still think sed is simpler than introducing a new function to wrap a > perl script.
Yeah, I think that is good (personally I'd use a function anyway, but I think it is short enough that we could go either way).
-Peff