From 1403964743aff837b2c7f8ca03b39c3fd50f5019 Mon Sep 17 00:00:00 2001 From: nixpkgs-review Date: Thu, 5 Nov 2020 11:46:39 -0300 Subject: egrep -> grep -E --- scripts/extract-translations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/extract-translations.sh') diff --git a/scripts/extract-translations.sh b/scripts/extract-translations.sh index a1527ca..79ace6b 100755 --- a/scripts/extract-translations.sh +++ b/scripts/extract-translations.sh @@ -5,7 +5,7 @@ cd ../ TRANSLATIONS=(pt fr eo) -for f in $(git ls-files | egrep '.(md|slides)$' | grep -v '^vendor/reveal.js$' | grep -v '^templates/'); do +for f in $(git ls-files | grep -E '.(md|slides)$' | grep -v '^vendor/reveal.js$' | grep -v '^templates/'); do file_lang="$(grep '^lang: ..$' "$f" | awk '{print $2}')" if [[ "$file_lang" = 'en' ]]; then for l in "${TRANSLATIONS[@]}"; do -- cgit v1.2.3