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

Re: zmv exits from function




On 2023-12-31 13:44, Bart Schaefer wrote:
On Sun, Dec 31, 2023 at 7:53 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
So that's multi-pass parsing.
Again, no.  It's only parsed once

I don't have the background to understand it and it's probably not worth your time to make it clear.  It 'look's like' a multiple parsing -- before zmv executes, it knows that errors will be handled differently than default due to following code, and then it 'goes back' and actually executes.  Or ... zmv returns innocently and then the next code rescues the function from aborting?  Nevermind, I don't need to know.  It's just sorta fuzzy trying to understand at exactly what point the function returns if zmv isn't happy.  I'm thinking in C naturally.







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