ptrap icon indicating copy to clipboard operation
ptrap copied to clipboard

grep -E on older distros

Open cepal opened this issue 5 years ago • 1 comments

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 avatar Aug 30 '19 09:08 cepal

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

cepal avatar Aug 30 '19 10:08 cepal