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
I can imagine that it's unwanted behavior. It happens because the word expansion is incomplete, and the code completion uses is the usual expansion code, which expects the word to be well-formed. I'll take a look. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/