bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No tilde expansion right after a quotation


From: Paul Jarc
Subject: Re: No tilde expansion right after a quotation
Date: Sun, 15 Feb 2009 20:11:21 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Jon Seymour <address@hidden> wrote:
> The manual specifies a rule for ${parameter:+word}, but not
> ${parameter+word}.

It's there, but easy to miss:
       In each of the cases below, word is subject to tilde expansion, parame-
       ter  expansion,  command  substitution, and arithmetic expansion.  When
       not performing substring expansion, bash tests for a parameter that  is
       unset  or null; omitting the colon results in a test only for a parame-
       ter that is unset.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]