Date: Wed, 07 Jul 2010 10:48:39 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Benedict Reuschling <bcr@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r209772 - head/usr.bin/getopt Message-ID: <4C34BDF7.1020201@FreeBSD.org> In-Reply-To: <201007071744.o67Hi9IU059462@svn.freebsd.org> References: <201007071744.o67Hi9IU059462@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C34BDF7.1020201>