GNU style getopt problem

Christoph Moench-Tegeder cmt at burggraben.net
Fri Feb 1 11:36:23 UTC 2013


## Beeblebrox (zaphod at 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


More information about the freebsd-ports mailing list