Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grep -E on older distros #1

Open
cepal opened this issue Aug 30, 2019 · 1 comment
Open

grep -E on older distros #1

cepal opened this issue Aug 30, 2019 · 1 comment

Comments

@cepal
Copy link

cepal commented Aug 30, 2019

on older distros "grep -E" doesn't work as the script intends. the solution - which also works in NEW distros, is to use "grep -P" instead; I've tested it on RHEL5/6/7 - where as with "grep -E" it wouldn't have worked on RHEL5.

@cepal
Copy link
Author

cepal commented Aug 30, 2019

I've created a forked update to the "ptrap" script and created a "pull request". Hope it gets merged into the master version soon ;-)

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

No branches or pull requests

1 participant