Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 12:36:19 +0100
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: GNU style getopt problem
Message-ID:  <20130201113618.GA2371@reindeer.exwg.net>
In-Reply-To: <1359717012393-5782884.post@n5.nabble.com>
References:  <1359717012393-5782884.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
## Beeblebrox (zaphod@berentweb.com):

> However, the problem persists because the depends-check script checks for
> and as answer gets:
> $ getopt --help 2 > &1 | grep long > /dev/null
> Ambiguous output redirect.

I believe that should be "2> &1" (or "2>&1") but "2 > &1" does not
redirect stderr (fd 2).

Regards,
Christoph

-- 
Spare Space



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130201113618.GA2371>