Bug#651617: input file == output file detection and -q

2011-12-18 Thread Jonathan Nieder
tags 651617 + upstream patch fixed-upstream affects 651617 + grub-common quit Jamie Heilman wrote: 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 Fixed by 97959294 (do not reject grep -qr . out,

Bug#651617: input file == output file detection and -q

2011-12-10 Thread Jamie Heilman
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