Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: tr alke expansion?



> is there a tr alike expansion in zsh ? something like :
> 
> % a=???
> % echo ${a(t:???:eee:)}
> eee

That doesn't look very tr-like.  Maybe you want

print ${a/\?\?\?/eee}

or

print ${a//\?/e}



Messages sorted by: Reverse Date, Date, Thread, Author