News for hackers. Stuff that matters.
Re:ZX – A tool for writing better scripts by imglorp on Saturday February 10, 2024 @01:35PM (#39328935)
Yes and a shell script would do it with one &, while this goop is a mountain of async, nesting, futures management, and boilerplate. No thanks.
Re:ZX – A tool for writing better scripts by Vinnl on Sunday February 11, 2024 @12:45PM (#39336781)
Sure, but again: I know and recognise this syntax and the APIs. What's boilerplate to me, I hardly see, whereas compact Bash operators are noise to my eyes.
Re:ZX – A tool for writing better scripts by Vinnl on Sunday February 11, 2024 @03:26PM (#39338321)
(Though to be honest, I'm also somewhat sceptical that a single & in Bash would be sufficient to move a bunch of files in a particular order, and restore them properly if the process gets terminated somewhere halfway along the process. But what I'm sure about is that I wouldn't have been able to write that in a reasonable amount of time!)