On Wed, May 25, 2005 at 08:28:40AM -0400, Paul Smith wrote:
> The most common usage these days is in conjunction with :=, like this:
>
> : ${TMPDIR:=/tmp}
>
> The := form assigns the value if the variable is empty, but it _also_
> substitutes the value. Adding ":" to the front makes that value a
> no-op.
This (and your other example) could be useful, thanks.
--
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
Public GnuPG key: keyserver.net ID 0x1735C5C2
"Let your advance worrying become advance thinking and planning."
- Winston Churchill
Attachment:
signature.asc
Description: Digital signature