If you thought grep was powerful, wait until you get a hold of ast-grep, which takes it to a whole new level.
Bash has quietly made scripting on Unix systems a lot easier with its own regular expressions. If you're still leaning on grep and sed commands to get your scripts to do what you need from them, maybe ...
grep is a command-line utility for searching plain-text data sets for lines that match a regular expression. Created in the early days of Unix, it has become a cornerstone of text processing in Linux ...
Each of these commands took me years to stumble across. They'll take you five minutes to steal.