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

Re: PATCH: expanding parameters like echo/print builtins



On May 11,  3:02pm, Mikael Magnusson wrote:
} Subject: PATCH: expanding parameters like echo/print builtins
}
} Is this already possible? I had an array with a lot of \u1234 escapes
} in it, and couldn't find a way to do it easily.

I'd probably have done it with ${(%)arr:gs/%/%%} ... but I don't have
any objection to the (g) flag except to wonder if another choice for
the letter (g) might be better.  The fact that it mnemes to GETKEY_
isn't going to be very helpful to most users.

But I don't have the list of available letters handy. :-)



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