Skip to content

Instantly share code, notes, and snippets.

@charlesthomas
Last active August 29, 2015 13:57
Show Gist options
  • Save charlesthomas/9696139 to your computer and use it in GitHub Desktop.
Save charlesthomas/9696139 to your computer and use it in GitHub Desktop.
hl: highlight matching text
function hl() { egrep --color -ie $@ -e '$'; }
# example: `cat some_file | hl what_i_want_highlighted`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment