[Pm-utils] [PATCH 1/4] Even simpler modularization of sleep methods.
Dan Nicholson
dbn.lists at gmail.com
Fri Feb 8 12:08:14 PST 2008
On Feb 8, 2008 11:56 AM, Victor Lowther <victor.lowther at gmail.com> wrote:
>
> > > + grep -q mem /sys/power/state; return $?
> >
> > `grep -q' is a GNU grepism. Just redirect to stdout to /dev/null. We
> > do want to see stderr, though, to know if /sys/power/state doesn't
> > exist.
>
> -q is a GNUism? It is defined in
> http://opengroup.org/onlinepubs/007908799/xcu/grep.html
Huh. Drop those comments, then. I think we can expect people to use a
POSIX grep.
--
Dan
More information about the Pm-utils
mailing list