[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60038: grep 2.20 - invalid option with search pattern "-/"
From: |
Daniel Schättgen |
Subject: |
bug#60038: grep 2.20 - invalid option with search pattern "-/" |
Date: |
Tue, 13 Dec 2022 09:50:44 +0000 |
Hello,
When searching for a pattern that includes "-/", the pattern is interpreted as
option:
[dsg@db01]# grep "-" example.txt
--/--
[dsg@db01]# grep "/" example.txt
--/--
[dsg@db01]# grep "-/" example.txt
grep: invalid option -- '/'
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
[dsg@db01]# grep --version
grep (GNU grep) 2.20
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and others, see
<http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
Kind regards
Daniel
abraxas Softwareentwicklungsgesellschaft mbH
Postfach 110101
D-66070 Saarbrücken
Altenkesselerstr. 17, Geb.C1
66115 Saarbrücken
Tel +49(0)681 976185-59
Daniel.Schaettgen@abraxas.de<mailto:Daniel.Schaettgen@abraxas.de>
HRB: 9540, Saarbrücken
GF: Daniel Schaum & Andreas Heid
https://www.abraxas.de<https://www.abraxas.de/>
__________________________
Profidata Group<https://www.profidatagroup.com/>
Investment Management Solutions<https://www.profidatagroup.com/>
- bug#60038: grep 2.20 - invalid option with search pattern "-/",
Daniel Schättgen <=