From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 01:41:41 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D09416A41F; Sat, 7 Jan 2006 01:41:41 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92BA943D45; Sat, 7 Jan 2006 01:41:39 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k071fadH022585; Sat, 7 Jan 2006 12:41:36 +1100 Received: from [61.8.37.140] (ppp258C.dyn.pacific.net.au [61.8.37.140]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k071fY4C016163; Sat, 7 Jan 2006 12:41:35 +1100 In-Reply-To: <43BF1965.8090607@FreeBSD.org> References: <43BF1965.8090607@FreeBSD.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3260E93B-AC3C-402C-AF9C-186F347871E9@brooknet.com.au> Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Sat, 7 Jan 2006 12:41:33 +1100 To: Doug Barton X-Mailer: Apple Mail (2.746.2) X-Mailman-Approved-At: Sat, 07 Jan 2006 20:36:14 +0000 Cc: freebsd-hackers@FreeBSD.org, stefanf@FreeBSD.org Subject: Re: Small patch to sh.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 01:41:41 -0000 On 07/01/2006, at 12:29 PM, Doug Barton wrote: > Does the attached patch look reasonable? > > Doug > > -- > > This .signature sanitized for your protection > > Index: sh.1 > =================================================================== > RCS file: /usr/local/ncvs/src/bin/sh/sh.1,v > retrieving revision 1.118 > diff -u -r1.118 sh.1 > --- sh.1 1 Jan 2006 16:02:12 -0000 1.118 > +++ sh.1 7 Jan 2006 01:25:57 -0000 > @@ -1140,6 +1140,10 @@ > .Pp > In addition, a parameter expansion can be modified by using one of > the > following formats. > +For each of the formats below, > +if the colon is ommitted the expansion will only be modified > +if the parameter is unset. > +It will not be modified if the parameter is null. > .Bl -tag -width indent > .It Li ${parameter:-word} > Use Default Values. It's already mentioned at the end of the list of formats.