On Sat, Oct 23, 2010 at 8:03 PM, Gaetan Nadon <[email protected]> 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.
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to