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

Re: Source mangling in $functions_source and typeset -f



On 2021-11-27 11:40 a.m., Lawrence Velázquez wrote:
Don't assume code comes from a file that can be read again. What
if the original file is no longer available?  What if the function
was defined using standard input and didn't originate from a file
at all?

That alone could be reason enough, thanks.  The method would want to be universal, so, as you say, if no file is involved, then obviously only what's internal is available anyway.





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