GNU bug report logs -
#32093
27.0.50; M-x grep appends /dev/null to command line
Previous Next
Reported by: David Kastrup <dak <at> gnu.org>
Date: Sun, 8 Jul 2018 09:34:02 UTC
Severity: minor
Tags: fixed
Found in version 27.0.50
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 32093 <at> debbugs.gnu.org (full text, mbox):
David Kastrup <dak <at> gnu.org> writes:
> I did not ask for /dev/null to be appended to the command line, and
> previous incantations didn't do it. Obviously, not all grep-kind
> programs are happy about that change.
--8<---------------cut here---------------start------------->8---
grep-use-null-device is a variable defined in ‘grep.el’.
Its value is ‘auto-detect’
Documentation:
If t, append the value of ‘null-device’ to ‘grep’ commands.
This is done to ensure that the output of grep includes the filename of
any match in the case where only a single file is searched, and is not
necessary if the grep program used supports the ‘-H’ option.
In interactive usage, the actual value of this variable is set up
by ‘grep-compute-defaults’; to change the default value, use
Customize or call the function ‘grep-apply-setting’.
You can customize this variable.
--8<---------------cut here---------------end--------------->8---
Best regards, Michael.
This bug report was last modified 6 years and 315 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.