[crawler] Removed case insensetive grep since it didn't work correctly with utf8.

This commit is contained in:
Yury Melnichek 2012-09-17 12:08:37 +02:00 committed by Alex Zolotarev
parent 59ae727bef
commit 626981b8f2

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -e -u -x
grep --ignore-case --only-matching --no-filename --mmap '<img[^/]*src=\"[^">]*"' -r --include=*.opt . \
grep --only-matching --no-filename --mmap '<img[^/]*src=\"[^">]*"' -r --include=*.opt . \
| sed 's/<img.*src="//g' \
| sed 's/"$//g' \
| sort -u \