From owner-svn-src-all@FreeBSD.ORG Wed Jul 7 17:59:07 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 02C9F106566B; Wed, 7 Jul 2010 17:59:07 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id CFA6C8FC1F; Wed, 7 Jul 2010 17:59:05 +0000 (UTC) Received: by ewy26 with SMTP id 26so2387380ewy.13 for ; Wed, 07 Jul 2010 10:59:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=z0Hg9ac6VkV8eitIx4jhkMftcF19bkFh0qvNkKkgkZw=; b=qvBZAO9DecBHQrm/4Lwcq8jRSqLErkX5AgzEMePBx15KpmOFGPRQjZa24d3TeQVhVG ntEbQZroOzJzwm7JvGl7/1dOd6/bP7y29g1Hn53E6Y8a1BaYnlA/3+I0TZu9uZu8EEmo xubTSxA4hA5VLFVJ481/pZD7KXOFMNjuqUzyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=D/lCiZu26A8psUUCOK9FDyvA+cBkOj6UuW1uJi37hrwSNJkO1ZeG0IO4XyQDkQmSAf u7yhXR17off00EW+lmkwxPh1G+BycI1C8cP2bqRfeRMAtGjqOiv6W7OPLLLM3K5c1SdM XQVJJkXeMp/7HLGdHNU+M/Q1L0GStmqdxxgNU= Received: by 10.213.2.132 with SMTP id 4mr5941280ebj.94.1278525542340; Wed, 07 Jul 2010 10:59:02 -0700 (PDT) Received: from localhost ([80.90.43.159]) by mx.google.com with ESMTPS id v59sm63213268eeh.4.2010.07.07.10.58.56 (version=SSLv3 cipher=RC4-MD5); Wed, 07 Jul 2010 10:59:00 -0700 (PDT) From: Anonymous To: Doug Barton References: <201007071744.o67Hi9IU059462@svn.freebsd.org> <4C34BDF7.1020201__3943.14767695523$1278525000$gmane$org@FreeBSD.org> Date: Wed, 07 Jul 2010 21:58:53 +0400 In-Reply-To: <4C34BDF7.1020201__3943.14767695523$1278525000$gmane$org@FreeBSD.org> (Doug Barton's message of "Wed, 07 Jul 2010 10:48:39 -0700") Message-ID: <86zky3897m.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Benedict Reuschling , 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:59:07 -0000 Doug Barton writes: > 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. Isn't `true' shell builtin as well? $ type true true is a shell builtin