bug-bash
[Top][All Lists]
Advanced

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

Re: Bad substitution when pressing [TAB]


From: Chet Ramey
Subject: Re: Bad substitution when pressing [TAB]
Date: Thu, 29 Sep 2016 08:46:20 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 9/27/16 4:46 PM, Valentin Bajrami wrote:
> HI,
> 
> While I was testing some variable substitution I came across this error /
> unwanted behavior. 
> 
> So for example:
> 
> $ printf '%s' "${/debash: ${/: bad substitution
> bash: ${/: bad substitution
> 
> just after printf '%s' "${/[TAB]  this behavior is triggert.

Thanks for the report.  Bash can avoid the error messages on an incomplete
word expansion, such as the one in your example.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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