Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#28871 - grep 2.11 segfault with -R and --exclude-dir
Attached to Project:
Arch Linux
Opened by Alexandre Chataignon (xouillet) - Sunday, 11 March 2012, 23:03 GMT
Last edited by Allan McRae (Allan) - Monday, 12 March 2012, 09:52 GMT
Opened by Alexandre Chataignon (xouillet) - Sunday, 11 March 2012, 23:03 GMT
Last edited by Allan McRae (Allan) - Monday, 12 March 2012, 09:52 GMT
|
DetailsDescription:
Reproduce using : ps ax | grep -R --exclude-dir=foo bar Another effect of this bug is that ps ax | grep -R bar will have the effect of `grep -R bar .` (i.e. searching local files for bar and not the output of ps ax) Additional info: * Exists since last update of grub (grub version 2.11) |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 12 March 2012, 09:52 GMT
Reason for closing: Fixed
Additional comments about closing: grep-2.11-2 in [testing]
Monday, 12 March 2012, 09:52 GMT
Reason for closing: Fixed
Additional comments about closing: grep-2.11-2 in [testing]
If no file operand is given, grep -r now searches the working directory.
Formerly it ignored the -r and searched standard input nonrecursively.
Note -r is the same as -R. So that is a deliberate change.