Cédric Félizard
Cédric Félizard
Thank you for this great snippet. However adding even more regexps to address all these examples feels wrong to me because there will always be weird edge cases that can't...
@tomeon https://github.com/mvdan/sh looks neat indeed. Perhaps Bashcov should be rewritten in Go and leverage it without FFI! Just (half) joking. Personally, I've been moving away from Ruby as you might...
Great question! Bashcov relies on the `xtrace` ability and the `$LINENO` special variable to get the current line number. I just tried that on a Debian machine (which uses Dash...
https://lists.ubuntu.com/archives/ubuntu-users/2008-July/153242.html
As expected, it fails badly without `$LINENO` support: https://travis-ci.org/infertux/bashcov/jobs/191911884 It'd be interesting to compile Dash with `$LINENO` support or try with KornShell...
That's great news. Thanks a lot @BaxterStockman. `$0` [behaves slightly differently](http://stackoverflow.com/questions/35006457/choosing-between-0-and-bash-source) than `$BASH_SOURCE` so we'll need to make sure it doesn't introduce regressions. I see `sh` is just a symlink...
> which isn't inherited by scripts invoked from the "parent" script Same result for me. Bummer. > One possiblity is to provide "shim" scripts [...] Of course, this approach won't...
Ping @WillemMali
Nice find! Though I feel like overriding `LD_PRELOAD` is more depraved than brilliant IMHO... unless you're doing it for debugging purposes.
:+1: for a new release @jkrall I haven't used the version from `master` much so I can't comment on the stability of it. However, the README on GitHub is full...