[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No tilde expansion right after a quotation
From: |
Jon Seymour |
Subject: |
Re: No tilde expansion right after a quotation |
Date: |
Mon, 16 Feb 2009 12:28:53 +1100 |
On Mon, Feb 16, 2009 at 12:11 PM, Paul Jarc <prj@po.cwru.edu> wrote:
> Jon Seymour <jon.seymour@gmail.com> 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.
>
Ah, thank you. I suspect I might have seen it if it had read:
> unset or null; omitting the colon (:) results in a test only for a
> parameter
since I don't think my word scanning firmware is capable of doing to
the colon -> : transform automatically :-)
jon.
- Re: No tilde expansion right after a quotation, (continued)
- Re: No tilde expansion right after a quotation, Angel Tsankov, 2009/02/15
- Re: No tilde expansion right after a quotation, Paul Jarc, 2009/02/15
- Re: No tilde expansion right after a quotation, Angel Tsankov, 2009/02/15
- Re: No tilde expansion right after a quotation, Jon Seymour, 2009/02/15
- Re: No tilde expansion right after a quotation, Paul Jarc, 2009/02/15
- Re: No tilde expansion right after a quotation, Angel Tsankov, 2009/02/15
- Re: No tilde expansion right after a quotation, Jon Seymour, 2009/02/15
- Re: No tilde expansion right after a quotation, Paul Jarc, 2009/02/15
- Re: No tilde expansion right after a quotation, Jon Seymour, 2009/02/15
- Re: No tilde expansion right after a quotation, Paul Jarc, 2009/02/15
- Re: No tilde expansion right after a quotation,
Jon Seymour <=
- Re: No tilde expansion right after a quotation, Angel Tsankov, 2009/02/15
- Re: No tilde expansion right after a quotation, Eric Blake, 2009/02/15
- Re: No tilde expansion right after a quotation, Angel Tsankov, 2009/02/16
- Re: No tilde expansion right after a quotation, Dave B, 2009/02/16
- Re: No tilde expansion right after a quotation, Angel Tsankov, 2009/02/16
- Re: No tilde expansion right after a quotation, Eric Blake, 2009/02/16
- Re: No tilde expansion right after a quotation, Chet Ramey, 2009/02/16