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

Re: [PATCH?] Nofork and removing newlines



Have to go to an appointment so just one quick thing now:

On Wed, Mar 6, 2024 at 2:22 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> Is there some strong reason we could not allow ${(T) foo} btw?

"{ " (curly bracket followed by space) is recognized like a syntax
token.  Can't break it up by sticking an arbitrary chunk of flags in
parens in the middle of it.

> space is syntactically kind of similar to other stuff that does work

In that case "{" is the token and all the stuff following is parsed later.




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