svn commit: r209772 - head/usr.bin/getopt
Doug Barton
dougb at FreeBSD.org
Wed Jul 7 17:48:42 UTC 2010
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/
More information about the svn-src-head
mailing list