Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Melnichek <melnichek@gmail.com>2012-05-29 09:02:39 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:40:14 +0300
commit2f4ef343b48af266285587fca3bf9375aea3719d (patch)
tree65e196abf3c666383ace3c63c3adfbfb298d53df /crawler
parentd884b7280feae1a45dc210b633d44416c539e8d0 (diff)
[guide] User memory mapping when grepping.
Diffstat (limited to 'crawler')
-rwxr-xr-xcrawler/extract-image-urls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/extract-image-urls.sh b/crawler/extract-image-urls.sh
index da07574755..508f45f42b 100755
--- a/crawler/extract-image-urls.sh
+++ b/crawler/extract-image-urls.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -e -u -x
-grep --ignore-case --only-matching --no-filename '<img[^/]*src=\"[^">]*"' -r --include=*.opt . \
+grep --ignore-case --only-matching --no-filename --mmap '<img[^/]*src=\"[^">]*"' -r --include=*.opt . \
| sed 's/<img.*src="//g' \
| sed 's/"$//g' \
| sort -u \