Tag Archives: rake

Grep Multiple Words

There might be an easier way to do this without escaping the regex to grep, but for my small brain to remember later on – I wanted to grep the output of rake routes and search for two strings (logical OR): rake routes | grep “\(give\|gift\)”

Leave a comment Continue Reading →