Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Merge duplicate information.
details: https://anonhg.NetBSD.org/src/rev/508a77b04600
branches: trunk
changeset: 770140:508a77b04600
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 05 13:15:30 2011 +0000
description:
Merge duplicate information.
diffstat:
bin/sh/sh.1 | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r b299dad8b235 -r 508a77b04600 bin/sh/sh.1
--- a/bin/sh/sh.1 Wed Oct 05 13:05:49 2011 +0000
+++ b/bin/sh/sh.1 Wed Oct 05 13:15:30 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sh.1,v 1.105 2011/10/04 18:11:27 apb Exp $
+.\" $NetBSD: sh.1,v 1.106 2011/10/05 13:15:30 christos Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -967,8 +967,8 @@
following formats.
If the
.Dq Dv \&:
-is omitted in the modifiers, then the expansion is applied only to unset
-parameters, not null ones.
+is omitted in the following modifiers, then the expansion is applied only
+to unset parameters, not null ones.
.Bl -tag -width aaparameterwordaaaaa
.It ${parameter:-word}
Use Default Values.
@@ -994,9 +994,6 @@
substituted; otherwise, the expansion of word is substituted.
.El
.Pp
-In the parameter expansions shown previously, use of the colon in the
-format results in a test for a parameter that is unset or null; omission
-of the colon results in a test for a parameter that is only unset.
.Bl -tag -width aaparameterwordaaaaa
.It ${#parameter}
String Length.
Home |
Main Index |
Thread Index |
Old Index