3 ms·
Also, editing a command in the middle if you notice a mistake becomes tricky. Pueue also allows you to do stuff like dependencies, which get tricky in bash if
by Nukesor 3y ago
Also, editing a command in the middle if you notice a mistake becomes tricky.
Pueue also allows you to do stuff like dependencies, which get tricky in bash if a task depends on more than one tasks finishing.
- kjkjadksj 3y agoIf this ability is important to you then you can break your pipeline into individual files that aren’t going to be read until they are executed, giving you time to edit.
- Nukesor 3y agoFair point, but to be honest, at this point it's just easier to do a: pueue add 'rsync somestuff host:location' And if I notice any problems, I just do a `pueue edit $id` and I'm good to go. It's just a lot more convenient than manually building pipelines with files that'll be executed. It would be something different if this was about recurrent tasks that needed to be done, though. But for one-off stuff, your approach seems a bit cumbersome.