Small patch to sh.1

Sam Lawrance boris at brooknet.com.au
Fri Jan 6 17:41:41 PST 2006


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.




More information about the freebsd-hackers mailing list