* bug#45019: 28.0.50; Odd "grep -n" behaviour
@ 2020-12-03 10:23 Lars Ingebrigtsen
2022-06-07 11:25 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-03 10:23 UTC (permalink / raw)
To: 45019
[-- Attachment #1: Type: text/plain, Size: 76 bytes --]
emacs -Q
M-: (grep "grep -n emacs configure") RET
Everything works fine:
[-- Attachment #2: Type: image/png, Size: 95834 bytes --]
[-- Attachment #3: Type: text/plain, Size: 77 bytes --]
Repeat:
M-: (grep "grep -n emacs configure") RET
Things do not work now:
[-- Attachment #4: Type: image/png, Size: 33115 bytes --]
[-- Attachment #5: Type: text/plain, Size: 307 bytes --]
Because the second time around it did not add "/dev/null" at the end
there.
Adding a -H would have fixed this, but calling the same function twice
should either fail both times, or work both times.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#45019: 28.0.50; Odd "grep -n" behaviour
2020-12-03 10:23 bug#45019: 28.0.50; Odd "grep -n" behaviour Lars Ingebrigtsen
@ 2022-06-07 11:25 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-07 11:25 UTC (permalink / raw)
To: 45019
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Adding a -H would have fixed this, but calling the same function twice
> should either fail both times, or work both times.
This has been fixed in Emacs 29 by making it fail both times,
apparently.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-07 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 10:23 bug#45019: 28.0.50; Odd "grep -n" behaviour Lars Ingebrigtsen
2022-06-07 11:25 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).