GNU bug report logs - #56077
Pattern Beginning With Dash Throws Error

Previous Next

Package: grep;

Reported by: gazip <at> tutanota.com

Date: Sat, 18 Jun 2022 21:44:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 56077-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: gazip <at> tutanota.com
Cc: 56077-done <at> debbugs.gnu.org
Subject: Re: bug#56077: Pattern Beginning With Dash Throws Error
Date: Sat, 18 Jun 2022 16:49:58 -0500
On 6/18/22 15:05, gazip--- via Bug reports for GNU grep wrote:
> I just encountered a problem where when the search pattern starts with a dash, grep interprets it as an argument parameter.


That's normal for grep. See question 3 of:

https://www.gnu.org/software/grep/manual/html_node/Usage.html





This bug report was last modified 3 years and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.