Date: Sat, 7 Jan 2006 12:41:33 +1100 From: Sam Lawrance <boris@brooknet.com.au> To: Doug Barton <dougb@FreeBSD.org> Cc: freebsd-hackers@FreeBSD.org, stefanf@FreeBSD.org Subject: Re: Small patch to sh.1 Message-ID: <3260E93B-AC3C-402C-AF9C-186F347871E9@brooknet.com.au> In-Reply-To: <43BF1965.8090607@FreeBSD.org> References: <43BF1965.8090607@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3260E93B-AC3C-402C-AF9C-186F347871E9>