simple approach to finding files that contain two patterns; it's easy to find a file...
authorChris Koeritz <fred@gruntose.com>
Wed, 10 Dec 2014 21:24:22 +0000 (16:24 -0500)
committerChris Koeritz <fred@gruntose.com>
Wed, 10 Dec 2014 21:24:22 +0000 (16:24 -0500)
commit42fc4d3fd60ae9e1791c52a507c220eec8f39fb9
tree10faa94edead808bd61636ca27d810fa2ed20665
parent4dd76c3f6012bd42d197ea27a9cbd65866e5917c
simple approach to finding files that contain two patterns; it's easy to find a file that has one pattern or the other, but grep doesn't offer an option saying "both of these must be present".
scripts/text/grep_two_patterns.sh [new file with mode: 0644]