Created
January 5, 2015 16:25
-
-
Save tdhopper/af61c5b5c0e701820005 to your computer and use it in GitHub Desktop.
ag ignores files in a directory called 'lib'
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
tdhopper@~/temp $ echo "hello" > file1.txt | |
tdhopper@~/temp $ mkdir lib | |
tdhopper@~/temp $ cp file1.txt lib/file2.txt | |
tdhopper@~/temp $ mkdir dir2 | |
tdhopper@~/temp $ cp file1.txt dir2/file3.txt | |
tdhopper@~/temp $ ag hello | |
dir2/file3.txt | |
1:hello | |
file1.txt | |
1:hello | |
tdhopper@~/temp $ ack hello | |
dir2/file3.txt | |
1:hello | |
file1.txt | |
1:hello | |
lib/file2.txt | |
1:hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment