[–] bnoordhuis 16y ago ↗ From TFA: grep '[[:punct:]]$' files I suspect the author has grep aliased to `egrep` or `grep -E` because [:punct:] is an extended regular expression and GNU grep defaults to basic RE mode.
[–] davnola 16y ago ↗ Before you invest time in grep, take a look at ack-grep http://betterthangrep.com/. ack-grep --thppt
2 comments
[ 3.4 ms ] story [ 17.5 ms ] thread