From: Miles Bader Date: Sat, 06 Feb 2010 08:17:31 GMT Subject: Re: git-grep: option parsing conflicts with prefix-dash searches Message-ID: <87mxzmsrqc.fsf@catnip.gol.com> In-Reply-To: <7v7hqrdkxb.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > I have known GNU extended grep implementations long enough but never saw > that "--" used to quote a pattern. Is it worth supporting to begin with? Well, it is a natural consequence of the way command-line parsing works in typical GNU progs; "--" doesn't mean "files follow", it means "no more options".... -Miles -- I'd rather be consing.