bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44362: Grep pipe doc needs to warn about --null


From: Lars Ingebrigtsen
Subject: bug#44362: Grep pipe doc needs to warn about --null
Date: Sun, 01 Nov 2020 14:21:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> (info "(emacs) Grep Searching") says
>
>         Your command need not simply run ‘grep’; you can use any shell
>      command that produces output in the same format.  For instance, you can
>      chain ‘grep’ commands, like this:
>
>           grep -nH -e foo *.el | grep bar | grep toto
>
> OK, but it also needs to mention:
>
> To have this currently work, be sure to remove the "--null" currently
> added to today's prompt,
>
>     Run grep (like this): grep --color -nH --null -e

I don't think the manual can warn you about all invalid things a user
may decide to put in the command line.  The --null is part of the
default command line, so I see your point, but I don't think mentioning
this stuff in the user manual would make much sense, and I'm closing
this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]