BlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 3 天前Error handling in bashnotifox.comexternal-linkmessage-square29fedilinkarrow-up1107arrow-down11
arrow-up1106arrow-down1external-linkError handling in bashnotifox.comBlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 3 天前message-square29fedilink
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up2·edit-22 天前Yeah ok, /usr/bin/env then. Edit: Or /bin/sh (oold convention) and check for bash.
minus-squarecr1cket@sopuli.xyzlinkfedilinkarrow-up3·2 天前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.
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.