GNU bug report logs -
#44409
Example in manual no longer works
Previous Next
Full log
Message #34 received at 44409-done <at> debbugs.gnu.org (full text, mbox):
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: bug-gnu-emacs <at> gnu.org, 44409 <at> debbugs.gnu.org
> Date: Wed, 04 Nov 2020 07:32:42 +0800
>
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
>
> EZ> The example in the manual doesn't mention /etc/motd of any other binary file. It uses text files, where this issue doesn't exist.
>
> Since when is /etc/motd a binary file?
I didn't say it was.
> >> $ grep --color -nH --null -e a /etc/motd | grep x
> >> Binary file (standard input) matches
>
> So we see the issue indeed exists with text files!!
No, it exists if you use Grep incorrectly.
> EZ> Yes, but you need to edit that prompt anyway in order to type the
> EZ> command with a pipe, so the original prompt doesn't matter much.
>
> No!
>
> In the past one could simply slap the pipe(s) on to the back.
>
> Now that no longer works.
>
> Therefore the example needs to be rewritten to make it work again.
The example already works without any changes, so it doesn't need to
be rewritten.
> (Or specific instructions need to be given: "Be sure to remove any
> '--null' that emacs has stuck in, for this example to work.")
That's the stuff for Grep manual, not for Emacs.
So I don't see any problem here to fix, and I'm closing this bug
report.
This bug report was last modified 4 years and 198 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.