On Wednesday, May 09, 2012 9:34:45 AM, Peter Stephenson wrote:
On Wed, 9 May 2012 09:00:43 -0700 reckoner<reckoner@xxxxxxxxx> wrote:${x//[\(\)]/_}This last one doesn't work for me with or without the HIST_SUBST_PATTERN.Hmm... there's not a lot to go wrong unless your version of zsh is *very* old. % zsh -f % x="foo(bar())rod" % print ${x//[\(\)]/_} foo_bar___rod
here's my version: zsh 4.3.11 (i686-pc-cygwin) Thanks!