From a56b814d35262560a81c8cca648f558261788a38 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 9 Sep 2011 16:36:44 +0200 Subject: //util/bin/translate.google: I can haz BRE @sed?! --- util/bin/translate.google | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/bin') diff --git a/util/bin/translate.google b/util/bin/translate.google index 1a1be6b6..45da6463 100755 --- a/util/bin/translate.google +++ b/util/bin/translate.google @@ -19,8 +19,8 @@ done (cd "$pwd/../.." && git submodule update --init) { - for arg; do echo "$arg"; done | sed -rn ' - s/^--(.*=.*)/\1/p;t + for arg; do echo "$arg"; done | sed -n ' + s/^--\(.*=.*\)/\1/p;t s/.*/text="${text+$text }&"/p;t ' cat<