Skip to content

Instantly share code, notes, and snippets.

@stevekm
Last active October 13, 2015 16:04
Show Gist options
  • Save stevekm/14a8f9ce78ffa2e9ed38 to your computer and use it in GitHub Desktop.
Save stevekm/14a8f9ce78ffa2e9ed38 to your computer and use it in GitHub Desktop.
Search all my mardown files for a name, or an email address
#!/bin/bash
grep -F Name_to_find *.md
# can also use -l to just return the file name
# find someone's email address
grep -F -e @ *.md | grep name_to_find
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment