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

Re: Mysterious (debug?) output in loop



On Sun, Jan 29, 2023 at 12:18 PM Dominik Vogt <dominik.vogt@xxxxxx> wrote:
>
> Why does it print 'FOO=0' to stdout (not stderr) in all passes of
> the loop except the first one?

Doc reference:

     If the shell option TYPESET_SILENT is not set, for each remaining
     NAME that refers to a parameter that is already set, the name and
     value of the parameter are printed in the form of an assignment.
     Nothing is printed for newly-created parameters, or when any
     attribute flags listed below are given along with the NAME.




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