Date: Fri, 06 Jan 2006 17:29:09 -0800 From: Doug Barton <dougb@FreeBSD.org> To: freebsd-hackers@FreeBSD.org, stefanf@freebsd.org Subject: Small patch to sh.1 Message-ID: <43BF1965.8090607@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010002090508020800080706 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Does the attached patch look reasonable? Doug -- This .signature sanitized for your protection --------------010002090508020800080706 Content-Type: text/plain; name="sh.1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sh.1.diff" 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. --------------010002090508020800080706--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43BF1965.8090607>