Re:Pure sh bible – Posix sh alternatives to external processes
by patrec on Monday October 19, 2020 @04:20PM
(#24830526)
Actually, there are still some bashism, and real foot traps at that. `trap EXIT` basically only "works" for try/finally behavior in bash, not even zsh. There should really be a warning around this in the article: if you want to be have portable cleanup for all exit conditions that works in different shells, you need a lot of busywork.
[ Parent
| on HN ]
Re:Pure sh bible – Posix sh alternatives to external processes
by agapon on Tuesday October 20, 2020 @07:50AM
(#24836268)
Where do you see such usage in the article?