Skip to content

Instantly share code, notes, and snippets.

@lamberta
Created November 17, 2009 07:01
Show Gist options
  • Save lamberta/236726 to your computer and use it in GitHub Desktop.
Save lamberta/236726 to your computer and use it in GitHub Desktop.
#grep through files,
#search list titles which start with ':'
#replace colons with tabs
#return file name, line number, title
grep -n -e '^:.*text' ./* | sed 's/:\+/\t/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment