Package: grep Version: 2.10-1 I noticed grub-mkconfig was triggering a new error message I hadn't seen before:
grep: input file `/boot/grub/grub.cfg.new' is also the output Tracked this back to the grep 2.10 release. Here's the one-liner that explains the issue: $ sh -c 'echo foo >bar; exec >>bar; grep -q foo bar && echo found >&2' grep: input file `bar' is also the output That's a change in behavior from earlier versions of grep. -q should probably disable input fd==output fd check; unless, I suppose, there's still some possibility that even with -q grep could still produce output? -- Jamie Heilman http://audible.transient.net/~jamie/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

