Module Name: src
Committed By: christos
Date: Tue Oct 4 18:07:39 UTC 2011
Modified Files:
src/bin/sh: sh.1
Log Message:
Mention what happens when we don't include :. It would be nice to use
.Dv :
but it produces ``'':
To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/bin/sh/sh.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/sh.1
diff -u src/bin/sh/sh.1:1.103 src/bin/sh/sh.1:1.104
--- src/bin/sh/sh.1:1.103 Sun Sep 11 02:02:20 2011
+++ src/bin/sh/sh.1 Tue Oct 4 14:07:39 2011
@@ -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 spe
.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.