From 045885c77aeb1167a8ad362dcd687ad9ea94b77b Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Thu, 8 Mar 2018 16:05:11 +0400 Subject: [PATCH] =?UTF-8?q?les=20fichiers=20properties=20sont=20parfois=20?= =?UTF-8?q?consid=C3=A9r=C3=A9s=20comme=20binaires?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ulib/javaproperties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ulib/javaproperties b/lib/ulib/javaproperties index 330662c..59961ee 100644 --- a/lib/ulib/javaproperties +++ b/lib/ulib/javaproperties @@ -119,8 +119,8 @@ function write_properties() { function __norm_properties() { echo '# -*- coding: iso-8859-1 -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=iso-8859-1' _nl2lf | - grep -v $'^[ \t]*#' | - grep -v $'^[ \t]*$' | + cgrep -v $'^[ \t]*#' | + cgrep -v $'^[ \t]*$' | csort -k1 -t= | csed $' s/\x80/\\\\u0080/g; s/\x81/\\\\u0081/g; s/\x82/\\\\u0082/g; s/\x83/\\\\u0083/g;