diff options
author | Joseph Herlant <aerostitch@users.noreply.github.com> | 2018-06-04 12:23:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 12:23:45 -0700 |
commit | 0c80f021d1539b454542f1a67ee8369e28ddd358 (patch) | |
tree | 090e8a7281f33586d32216e3e74da651f77ab456 | |
parent | a619cc53771fc0233009e438e39b2081ba991d53 (diff) | |
download | navit-0c80f021d1539b454542f1a67ee8369e28ddd358.tar.gz |
cleanup:scripts:removes deprecated usage of egrep (#616)
-rw-r--r-- | scripts/import_translations.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/import_translations.sh b/scripts/import_translations.sh index 6c18ffa91..c934515e2 100644 --- a/scripts/import_translations.sh +++ b/scripts/import_translations.sh @@ -23,7 +23,7 @@ for i in po/import_queue/*.po; do # Build a clean list of the contributors IFS=$'\n' echo "Downloading https://translations.launchpad.net/navit/trunk/+pots/navit/${code}/+details" - contributors=`wget -q https://translations.launchpad.net/navit/trunk/+pots/navit/${code}/+details -O - | egrep '^ <a href=".+?" class="sprite person">'` + contributors=`wget -q https://translations.launchpad.net/navit/trunk/+pots/navit/${code}/+details -O - | grep -E '^ <a href=".+?" class="sprite person">'` for user in $contributors; do url=`echo $user|cut -d'"' -f2` name=`echo $user|cut -d'>' -f2|cut -d'<' -f1` |