diff options
author | tv <tv@xso> | 2011-09-09 16:36:44 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-09 16:36:44 +0200 |
commit | a56b814d35262560a81c8cca648f558261788a38 (patch) | |
tree | dc4f5eb5acc848a676d6180f270fde9c64ba7f0e /util/bin/translate.google | |
parent | b5b3f257697ae684474d43ca1e4d5656bf3ee9c4 (diff) |
//util/bin/translate.google: I can haz BRE @sed?!
Diffstat (limited to 'util/bin/translate.google')
-rwxr-xr-x | util/bin/translate.google | 4 |
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 |