GNU BRE/ERE cheatsheet and differences between grep, sed and awk
Poster created using Canva
This post covers Basic Regular Expressions (BRE) and Extended Regular Expressions (ERE) syntax supported by GNU grep
, sed
and awk
. You'll also learn the differences between these tools — for example, awk
doesn't support backreferences within regexp definition (i.e. the search portion).