From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 01:29:12 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 934D016A41F for ; Sat, 7 Jan 2006 01:29:12 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.12]) by mx1.FreeBSD.org (Postfix) with SMTP id BA03143D48 for ; Sat, 7 Jan 2006 01:29:11 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 65261 invoked by uid 399); 7 Jan 2006 01:29:10 -0000 Received: from localhost (HELO ?192.168.1.100?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 7 Jan 2006 01:29:10 -0000 Message-ID: <43BF1965.8090607@FreeBSD.org> Date: Fri, 06 Jan 2006 17:29:09 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20051226) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org, stefanf@freebsd.org Content-Type: multipart/mixed; boundary="------------010002090508020800080706" Cc: Subject: Small patch to sh.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 01:29:12 -0000 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--