top | item 44697052 (no title) Grimeton | 7 months ago You can just do trap 'caller 1' ERR should do the same thing. Also you should set "errtrace" (-E) and possibly "nounset" (-u) and "pipefail". discuss order hn newest gkfasdfasdf|7 months ago or even use caller to print a full backtrace: https://news.ycombinator.com/item?id=44636927 progbits|7 months ago That's neat, but if your bash script needs a backtrace it should not be a bash script. To each their own though. load replies (1)
gkfasdfasdf|7 months ago or even use caller to print a full backtrace: https://news.ycombinator.com/item?id=44636927 progbits|7 months ago That's neat, but if your bash script needs a backtrace it should not be a bash script. To each their own though. load replies (1)
progbits|7 months ago That's neat, but if your bash script needs a backtrace it should not be a bash script. To each their own though. load replies (1)
gkfasdfasdf|7 months ago
progbits|7 months ago