2014-09-01から1ヶ月間の記事一覧
found_dirs=()for filepath in `find foobar -follow -type f`do result=`grep ${filepath} -e hogehoge -l` if [ ${#result} -gt 0 ] && [ -f ${result} ]; then found_dirs+=(`dirname ${result}`) fidoneecho "${found_dirs[@]}" | tr ' ' '\n' | sort -u…