Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: nohistsubstpattern and :s//
On Jul 7, 12:15pm, Peter Stephenson wrote:
} Subject: Re: nohistsubstpattern and :s//
}
} > 
} > torch% a=(abc dbe fbg)
} > torch% unset b
} > torch% print ${a:gs/b/$b/}  
} > a d f
} 
} Perhaps the line is turning into "a$bc", "d$be", "f$bg" before the
} substitution?
Oh!  Yes, of course.
} This is new:  the existing code gives
} 
} ac de fg
?? Existing (as in, 5.0.8) code for me gives
    a$bc d$be f
which would have immediately explained the foregoing if I had thought
to compare.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author