lunar-linux/lunar — pull request #80 by dagbrown (2013-11-08 07:36:37+00:00)
Title: Echo pipe grep considered harmful

Just like my last pull request, only with a different ugly thing.

bash has builtin regular expression matching, so you don't need to say "echo $THING | grep stuff"; you can just use the =~ operator of the [[ ]] builtin.