From owner-svn-src-all@FreeBSD.ORG Wed Jul 7 17:48:41 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDF4010656CC for ; Wed, 7 Jul 2010 17:48:41 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 850A08FC1D for ; Wed, 7 Jul 2010 17:48:41 +0000 (UTC) Received: (qmail 27502 invoked by uid 399); 7 Jul 2010 17:48:40 -0000 Received: from localhost (HELO ?192.168.0.142?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 7 Jul 2010 17:48:40 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C34BDF7.1020201@FreeBSD.org> Date: Wed, 07 Jul 2010 10:48:39 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Benedict Reuschling References: <201007071744.o67Hi9IU059462@svn.freebsd.org> In-Reply-To: <201007071744.o67Hi9IU059462@svn.freebsd.org> X-Enigmail-Version: 1.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r209772 - head/usr.bin/getopt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 17:48:42 -0000 On 7/7/2010 10:44 AM, Benedict Reuschling wrote: > Author: bcr (doc committer) > -for i > +while true; > do If this is intended to be an sh scripting example a better way to write that is: while : ; You can't guarantee that "true" will always be available and do what you expect, whereas the ':' operator is a shell builtin. hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/