GNU style getopt problem

Beeblebrox zaphod at berentweb.com
Fri Feb 1 14:38:43 UTC 2013


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.


More information about the freebsd-ports mailing list