summaryrefslogtreecommitdiffstats
path: root/util/bin/translate.google
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-09 16:36:44 +0200
committertv <tv@xso>2011-09-09 16:36:44 +0200
commita56b814d35262560a81c8cca648f558261788a38 (patch)
treedc4f5eb5acc848a676d6180f270fde9c64ba7f0e /util/bin/translate.google
parentb5b3f257697ae684474d43ca1e4d5656bf3ee9c4 (diff)
//util/bin/translate.google: I can haz BRE @sed?!
Diffstat (limited to 'util/bin/translate.google')
-rwxr-xr-xutil/bin/translate.google4
1 files changed, 2 insertions, 2 deletions
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<<EOF