Your message dated Sun, 23 Mar 2014 13:50:44 +0100
with message-id <[email protected]>
and subject line Re: Bug#742395: Gratuitous use of non-POSIX options to grep
has caused the Debian Bug report #742395,
regarding Gratuitous use of non-POSIX options to grep
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
742395: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742395
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: udev
Version: 175-7.2
Tags: patch
The script /etc/init.d/udev-mtab uses long arguments to grep which don't
work
if the version of grep on the system isn't the GNU one. These arguments
should
be replaced with the equivalent POSIX standard ones.
(From the manpage, --quiet is an alias for -q and --no-messages for -s).
Cheers
David
diff -ur debian.OLD/udev.udev-mtab.init debian/udev.udev-mtab.init
--- debian.OLD/udev.udev-mtab.init 2012-08-20 06:45:38.000000000 +0930
+++ debian/udev.udev-mtab.init 2014-03-23 19:22:23.285331152 +1030
@@ -40,8 +40,8 @@
udev_root=${udev_root%/}
if mountpoint -q $udev_root; then
- if ! grep -E --quiet --no-messages "^[^ ]+ +$udev_root +" /etc/mtab; then
- mtabline="$(grep -E --no-messages "^[^ ]+ +$udev_root +(dev)?tmpfs +"
/proc/mounts || true)"
+ if ! grep -E -q -s "^[^ ]+ +$udev_root +" /etc/mtab; then
+ mtabline="$(grep -E -s "^[^ ]+ +$udev_root +(dev)?tmpfs +" /proc/mounts ||
true)"
if [ "$mtabline" ]; then
echo "$mtabline" >> /etc/mtab
fi
--- End Message ---
--- Begin Message ---
On Mar 23, David Monro <[email protected]> wrote:
> The script /etc/init.d/udev-mtab uses long arguments to grep which don't
> work
> if the version of grep on the system isn't the GNU one. These arguments
> should
> be replaced with the equivalent POSIX standard ones.
No.
--
ciao,
Marco
signature.asc
Description: Digital signature
--- End Message ---