Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t7813-grep-icase-iso.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t7813-grep-icase-iso.sh` 19 lines · 427 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='grep icase on non-English locales' 4 5 . ./lib-gettext.sh 6 7 test_expect_success GETTEXT_ISO_LOCALE 'setup' ' 8 printf "TILRAUN: Halló Heimur!" >file && 9 git add file && 10 LC_ALL="$is_IS_iso_locale" && 11 export LC_ALL 12 ' 13 14 test_expect_success GETTEXT_ISO_LOCALE,PCRE 'grep pcre string' ' 15 git grep --perl-regexp -i "TILRAUN: H.lló Heimur!" && 16 git grep --perl-regexp -i "TILRAUN: H.LLÓ HEIMUR!" 17 ' 18 19 test_done