-
-
Save purefan/5173232 to your computer and use it in GitHub Desktop.
This is what I use to have a pretty "Search in files". In debian based distros you can add it to /usr/bin/fif and call it like this:
fif whatever
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 | |
find . -not -iwholename '*.svn*' -type f -print | xargs egrep --color=auto --line-number --no-messages "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment