From: Junio C Hamano Date: Mon, 02 May 2011 16:38:55 GMT Subject: Re: [PATCH/RFC 0/4] grep: support to match by line number Message-ID: <7vfwoxoy5c.fsf@alter.siamese.dyndns.org> In-Reply-To: I am personally not thrilled by what this series attempts to do, but first a few questions: - Are there existing non-git "grep" implementations that do this? - If yes: - what command option letter do they use to specify line number? - do they not support a range notation (e.g. -@ 25-30,32-40)? - what do they do when given more than one file? - If no: - why not? Is it a sign that this is ill-thought out misfeature? - perhaps people use something like "sed -n -e 25,30p file" and be happy?