Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

$_ is clobbered by debug trap #194

Open
HaleTom opened this issue Dec 3, 2016 · 0 comments
Open

$_ is clobbered by debug trap #194

HaleTom opened this issue Dec 3, 2016 · 0 comments

Comments

@HaleTom
Copy link

HaleTom commented Dec 3, 2016

bats suffers from the same bug resolved in:

This is a "feature" of bash, see this answer on SO.

I discovered this when my bash-preexec returned a false-positive due to this "feature" not being worked-around in bats.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant