From owner-svn-src-all@FreeBSD.ORG Wed Jul 7 23:01:57 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 E2F2F106566C; Wed, 7 Jul 2010 23:01:57 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AFDEB8FC14; Wed, 7 Jul 2010 23:01:56 +0000 (UTC) Received: by bwz12 with SMTP id 12so149369bwz.13 for ; Wed, 07 Jul 2010 16:01:51 -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 :content-transfer-encoding; bh=GvbhTwdx2u7YYyD51Dog5CDIyDfpvPH5It7No3WaVvM=; b=MGZjysMLkPb7Ht25rmhxwB4rWiSXM4EpKOOroHVnfxQ0BipmwTfHAVtaV4R6cOEpZW HEkD8I8oq1mMsqfgV1gB87WfzRae3cE+mB4XOJzhMqnIbrvRa0OIjKCKHncumexOe6Sf O35fRS5nSyOs+v3QGBJ++8caq+sChMeukrZlo= 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:content-transfer-encoding; b=p6FiMeuXdMMQbeRtWTFmNwhKUNd0Fr3EAwv+HJpE9GAWG2G0vIZ9ScALaLgC2BDDZV H7L4cMR0Cn4rtU7GUBRFU78QvTixyDEEeEM83wGGcArtzbMC8I9uR4XLj2tdOZ5VEho7 wuiY4TgdNo5iQRmAZuLmC9n2prf+STp6GmJWo= Received: by 10.204.81.203 with SMTP id y11mr1151425bkk.152.1278543711058; Wed, 07 Jul 2010 16:01:51 -0700 (PDT) Received: from localhost (hd5b906df.selukra.dyn.perspektivbredband.net [213.185.6.223]) by mx.google.com with ESMTPS id x19sm30065542bkv.9.2010.07.07.16.01.48 (version=SSLv3 cipher=RC4-MD5); Wed, 07 Jul 2010 16:01:50 -0700 (PDT) From: Anonymous To: Garrett Cooper References: <201007071744.o67Hi9IU059462@svn.freebsd.org> <4C34BDF7.1020201__3943.14767695523$1278525000$gmane$org@FreeBSD.org> <86zky3897m.fsf@gmail.com> Date: Thu, 08 Jul 2010 03:01:39 +0400 In-Reply-To: (Garrett Cooper's message of "Wed, 7 Jul 2010 14:49:09 -0700") Message-ID: <861vbe28x8.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=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Doug Barton , src-committers@freebsd.org, Benedict Reuschling 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 23:01:58 -0000 Garrett Cooper writes: > On Wed, Jul 7, 2010 at 10:58 AM, Anonymous wrote: >> Doug Barton writes: >> >>> On 7/7/2010 10:44 AM, Benedict Reuschling wrote: >>>> Author: bcr (doc committer) >>> >>>> -for i >>>> +while true; >>>> =C2=A0do >>> >>> 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? >> >> =C2=A0$ type true >> =C2=A0true is a shell builtin > > `true' is the new way. `:' is the old Bourne way as I've been told > (but you're right, it is a built-in now as of at least 7.1 -- not sure > about 6.x though)... I see `true' uncommented in builtins.def going all the way back to Ash as it was posted on Usenet in 1989.