BlackEco@lemmy.blackeco.com to ProgrammingEnglish · 1 month agoError handling in bashnotifox.comexternal-linkmessage-square29linkfedilinkarrow-up1109arrow-down11cross-posted to: linux
arrow-up1108arrow-down1external-linkError handling in bashnotifox.comBlackEco@lemmy.blackeco.com to ProgrammingEnglish · 1 month agomessage-square29linkfedilinkcross-posted to: linux
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up2·edit-230 days agoYeah ok, /usr/bin/env then. Edit: Or /bin/sh (oold convention) and check for bash.
minus-squarecr1cket@sopuli.xyzlinkfedilinkarrow-up3·30 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.