From owner-freebsd-ports@FreeBSD.ORG Fri Feb 1 14:42:21 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DC994E0F for ; Fri, 1 Feb 2013 14:42:21 +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 B945DA5F for ; Fri, 1 Feb 2013 14:42:21 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U1Hor-00067w-AX for freebsd-ports@freebsd.org; Fri, 01 Feb 2013 06:42:21 -0800 Date: Fri, 1 Feb 2013 06:42:21 -0800 (PST) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1359729741318-5782951.post@n5.nabble.com> In-Reply-To: <1359729522801-5782949.post@n5.nabble.com> References: <1359717012393-5782884.post@n5.nabble.com> <20130201113618.GA2371@reindeer.exwg.net> <1359729522801-5782949.post@n5.nabble.com> 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:42:21 -0000 Interesting - when I switch to bash and try it: getopt --help 2> &1 | grep long bash: syntax error near unexpected token `&' while this one gives no message - I guess I'll try a test with this. $ getopt --help 2>&1 | grep long -- View this message in context: http://freebsd.1045724.n5.nabble.com/GNU-style-getopt-problem-tp5782884p5782951.html Sent from the freebsd-ports mailing list archive at Nabble.com.