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

Re: var=$( typeset "$1" ) ... not within a function.




On 2022-10-20 10:25, Roman Perepelitsa wrote:
Try typing `typeset USER` in your interactive shell. What do you get as output?
Take a look at typeset_silent option.

There's part of an explanation. 'typeset -m' cures the problem but why is there only a problem within the function?  Why this special handling of typeset?






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