Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 06:38:42 -0800 (PST)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: GNU style getopt problem
Message-ID:  <1359729522801-5782949.post@n5.nabble.com>
In-Reply-To: <20130201113618.GA2371@reindeer.exwg.net>
References:  <1359717012393-5782884.post@n5.nabble.com> <20130201113618.GA2371@reindeer.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, thanks for replying
I tried both
$ getopt --help 2> &1 | grep long > /dev/null
$ getopt --help 2>&1 | grep long > /dev/null
And got the "Ambiguous output redirect" message., and up arrow in both
instances showed the code as "2 > & 1"
Unless you meant ?
$ getopt --help "2>&1"
 -- 2>&1




--
View this message in context: http://freebsd.1045724.n5.nabble.com/GNU-style-getopt-problem-tp5782884p5782949.html
Sent from the freebsd-ports mailing list archive at Nabble.com.



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