Created
May 11, 2017 21:54
-
-
Save airbr/1ffc37d141c169e14316b091a796297a to your computer and use it in GitHub Desktop.
Personal Grep Cheatsheet
This file contains hidden or 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
// Searches current directory recursively using extended regular expressions for Hex Codes i.e. : | |
// Single or double quote group+maybe a # sign+xdigits with a range of 6+ single or double quote group | |
grep -rE --color "(\'|\")#?[[:xdigit:]]{6,6}(\'|\")" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment