Mention what happens when we don't include :. It would be nice to use

.Dv :
but it produces ``'':
This commit is contained in:
christos 2011-10-04 18:07:39 +00:00
parent ad7a0ebc4b
commit 113ec67ab4

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sh.1,v 1.103 2011/09/11 06:02:20 dholland Exp $
.\" $NetBSD: sh.1,v 1.104 2011/10/04 18:07:39 christos Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@ -31,7 +31,7 @@
.\"
.\" @(#)sh.1 8.6 (Berkeley) 5/4/95
.\"
.Dd June 11, 2011
.Dd October 4, 2011
.Dt SH 1
.Os
.Sh NAME
@ -965,6 +965,10 @@ expansion, with the exception of the special rules for @.
.Pp
In addition, a parameter expansion can be modified by using one of the
following formats.
If the
.Dv :
is omitted in the modifiers, then the expansion is applied only to unset
parameters, not null ones.
.Bl -tag -width aaparameterwordaaaaa
.It ${parameter:-word}
Use Default Values.