Let’s play a game. Here are some grep results. Can you guess the search term?
Here are some more. Try to guess the search term again:
Neither were too hard, right? Here is where I confess it was a stupid game (and not simply due to priming issues or WordPress’s apparent inability to display images without resizing them): The point was to demonstrate a difference in speed that you are likely unable to even detect–but that doesn’t mean it’s not important. Your eyes were guided immediately to the blinking text, because out on the savanna, your ancestors cared more about whether or not a lion was charging than they did the color of its mane.
Yet, upon learning of my liberal use of the terminal blink attribute–interestingly enough, the only text attribute more or less exclusive to terminals–a co-conspirator scoffed: “Ew.”
Such emotional responses hold back otherwise better programmers. Perhaps this particular person should have chosen a walk of life less demanding of rationality. Regardless, what this person did not realize is that good trains of thought require minutes to get going but only milliseconds to derail–and being able to find the exact text you were looking for while largely coasting on muscle memory is a godsend. The blink attribute helps tremendously toward this end–and not simply with
$GREP_COLORS, either… though I do welcome you to begin by placing the following in
$BASH_ENV (a more appropriate location than
~/.bashrc) or the corresponding location for your shell of choice:
… Then again, maybe your eyes are just drawn to gonads.