Last active
October 13, 2015 16:04
-
-
Save stevekm/14a8f9ce78ffa2e9ed38 to your computer and use it in GitHub Desktop.
Search all my mardown files for a name, or an email address
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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