[PATCH modular 2/2] Verify existence of command specified by --cmd.
Trevor Woerner
twoerner at gmail.com
Sat Oct 23 17:20:10 PDT 2010
On Sat, Oct 23, 2010 at 8:03 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> On Fri, 2010-10-22 at 16:08 -0400, Trevor Woerner wrote:
>
> + which $cmd1 > /dev/null 2> /dev/null
>
> I am not UNIX head, but it seems '$cmd1 > /dev/null 2>&1' would be a more
> popular way to write this.
Ha ha! Yes, that's how my fingers would more naturally phrase such a
thing. But I *believe* that is a bash-ism. I tried to be as generic as
I possibly could by reviewing the automake/autoconf/m4 script gotchas
someone referred us to a while back (I think it was Alan Coopersmith).
Reviewing the pertinent sections I believe what I wrote is the most
generic, but I could be wrong.
More information about the xorg-devel
mailing list