Created
June 7, 2014 14:48
-
-
Save kimikimi714/0d80ef46b2ca7cbd2cc8 to your computer and use it in GitHub Desktop.
自分で作ったスクリプトまとめ ref: http://qiita.com/kimikimi714/items/ed3dfb698a6ae6269c00
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/sh | |
filename=$1 | |
word=$2 | |
cat ${filename} | while read line | |
do | |
grep -l ${word} ${line}; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment