BlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 17 days agoError handling in bashnotifox.comexternal-linkmessage-square29fedilinkarrow-up199arrow-down11
arrow-up198arrow-down1external-linkError handling in bashnotifox.comBlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 17 days agomessage-square29fedilink
minus-squarecr1cket@sopuli.xyzlinkfedilinkarrow-up2·15 days agoUhm, yes. I noted exactly that as well. Also bash is not always at /bin/bash :-)
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up2·edit-215 days agoNeither is env always in /usr/bin/, while /bin/<shell> is as old as shells. I prefer that more.
minus-squarecr1cket@sopuli.xyzlinkfedilinkarrow-up2·15 days agoWell, that won’t work on openbsd (and probably freebsd), because non-default.stuff lands in /usr/local/bin. For Linux you should be fine though.
Uhm, yes. I noted exactly that as well.
Also bash is not always at /bin/bash :-)
Neither is env always in /usr/bin/, while /bin/<shell> is as old as shells. I prefer that more.
Well, that won’t work on openbsd (and probably freebsd), because non-default.stuff lands in /usr/local/bin.
For Linux you should be fine though.