From owner-freebsd-ports@FreeBSD.ORG Fri Feb 1 14:38:43 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E0DEFD11 for ; Fri, 1 Feb 2013 14:38:43 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id C84D5A36 for ; Fri, 1 Feb 2013 14:38:43 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U1HlK-0005s0-Q4 for freebsd-ports@freebsd.org; Fri, 01 Feb 2013 06:38:42 -0800 Date: Fri, 1 Feb 2013 06:38:42 -0800 (PST) From: Beeblebrox To: freebsd-ports@freebsd.org 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> Subject: Re: GNU style getopt problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 14:38:43 -0000 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.