From: SZEDER Gábor Date: Tue, 23 Jul 2013 19:59:02 GMT Subject: Re: [PATCH 2/5] t4211: demonstrate empty -L range crash Message-ID: <20130723195902.GQ18565@goldbirke> In-Reply-To: <7vvc416qvq.fsf@alter.siamese.dyndns.org> On Tue, Jul 23, 2013 at 12:03:05PM -0700, Junio C Hamano wrote: > SZEDER Gábor writes: > > (Side question: the test suite is full with similar constructs, i.e. > > redirecting file contents to stdin, but why not just use wc -l b.c, > > i.e. let wc open the file?) > > "wc -l otherwise you will see the filename in the output, and you need to > somehow strip it if you are only interested in the line count. Facepalm, that should have been obvious...