BlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 24 days agoError handling in bashnotifox.comexternal-linkmessage-square29fedilinkarrow-up1108cross-posted to: linux@programming.dev
arrow-up1108external-linkError handling in bashnotifox.comBlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 24 days agomessage-square29fedilinkcross-posted to: linux@programming.dev
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up2·edit-222 days agoYeah ok, /usr/bin/env then. Edit: Or /bin/sh (oold convention) and check for bash.
minus-squarecr1cket@sopuli.xyzlinkfedilinkarrow-up3·22 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.
Yeah ok, /usr/bin/env then.
Edit: Or /bin/sh (oold convention) and check for bash.
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.