Month: September 2016
-
UNIX tip of the day – grep -P is slow
Unless you really need some advanced regular expressions only supported by PCRE, using POSIX regular expressions with grep is usually an order of magnitude faster – that’s because the default engine with grep uses finite automata, as opposed to a backtracking algorithm which PCRE uses ( the main featuress you gain from the backtracking algorithm…
Join 164 other subscribers
Archives
Category
- ►Computers (128)
- ►cooking (43)
- ►environmentalism (4)
- ►general (14)
- ►linguistics (15)
- ►mindfulness (4)
- ►photography (15)