4 ms·
It is sad that trap interface is not reversed: trap EXIT WHATEVER -- cmd args But as it is common with bash interfaces crystalized before good practices bec
by hawski 3y ago
It is sad that trap interface is not reversed:
trap EXIT WHATEVER -- cmd args
But as it is common with bash interfaces crystalized before good practices became apparent.
- 1letterunixname 3y agoStylistic bikeshedding. 3 keywords for normal, abnormal, and all exits would be semantically clear. The best practice for a problematic language is to use something else.