Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 10:40:01 GMT
From:      Taras Korenko <ds@ukrhub.net>
To:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/185481: sh/bash Parameter Expansion +/- syntax not documented
Message-ID:  <201401051040.s05Ae1Oi079693@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/185481; it has been noted by GNATS.

From: Taras Korenko <ds@ukrhub.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: docs/185481: sh/bash Parameter Expansion +/- syntax not
 documented
Date: Sun, 5 Jan 2014 12:30:13 +0200

 On Sat, Jan 04, 2014 at 07:45:19PM -0800, Ronald F.Guilmette wrote:
 > ...
 > 	${parameter-word}
 > 	${parameter+word}
 > 
 > These forms are not however documented in the "Parameter Expansion"
 > sections of either the man page for sh or the man page for bash.
 > ...
 
 "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."
 
 (c) sh(1) under "Parameter Expansion" section (also on web -> [1]).
 
 --
 1. http://www.freebsd.org/cgi/man.cgi?query=sh&apropos=0&sektion=1&manpath=FreeBSD+9.2-RELEASE&arch=default&format=html
 -- 
   WBR, Taras Korenko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401051040.s05Ae1Oi079693>