Getting a Grip on GNU greplinux.com 10 pointsobsaysditto16 years ago2 commentsSaveHideCopy link On HNComments−bnoordhuis16yFrom 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.−davnola16yBefore you invest time in grep, take a look at ack-grep http://betterthangrep.com/. ack-grep --thppt
Comments
From TFA:
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.Before you invest time in grep, take a look at ack-grep http://betterthangrep.com/.