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

Re: Modifiers and parameter expansion?



On 12/1/22 16:29, Dominik Vogt wrote:
Why are modifiers applied here; is this a bug?
they are defined to work that way, no.

   $ zsh --version
   zsh 5.8 (x86_64-debian-linux-gnu)
   $ emulate zsh
   $ X=abc
   $ echo $X:u
   ABC

Isn't this supposed to happen only if the parameter and modifier
are put in braces?

nope.





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