Author: glen Date: Sat Feb 5 13:52:20 2011 GMT
Module: git-migration Tag: HEAD
---- Log message:
- grep is broken somewhere with locales, use | instead of choices in [], it
just wouldn't match 'ż', thx mmazur for hint
---- Files affected:
git-migration:
msgconv.sh (1.1 -> 1.2)
---- Diffs:
================================================================
Index: git-migration/msgconv.sh
diff -u git-migration/msgconv.sh:1.1 git-migration/msgconv.sh:1.2
--- git-migration/msgconv.sh:1.1 Sat Feb 5 14:35:51 2011
+++ git-migration/msgconv.sh Sat Feb 5 14:52:14 2011
@@ -5,7 +5,7 @@
# $ git-filter-branch --msg-filter msgconv.sh
s=$(cat)
-if echo "$s" | grep --color '[�������ʣ�Ӧ��]'; then
+if echo "$s" | LC_ALL=C LANG= grep -E '�|�|�|�|�|�|�|�|�|�|�|�|�|�|�|�|�|�';
then
echo "$s" | iconv -flatin2 -tutf8
else
echo "$s"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/git-migration/msgconv.sh?r1=1.1&r2=1.2&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit