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 [email protected] http://cnswww.cns.cwru.edu/~chet/