aboutsummaryrefslogtreecommitdiff
path: root/translate
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-06-20 23:01:09 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-06-20 23:01:09 +0200
commit581865ee0c8b8aea872f053d804a41fb5f416b17 (patch)
tree9a2f99ea48c31629a5c3c42b0454483982cdbfed /translate
parentc5d101ab2c9db3b1a001cb56953cb90b24f8fdcf (diff)
downloadscripts-581865ee0c8b8aea872f053d804a41fb5f416b17.tar.gz
scripts-581865ee0c8b8aea872f053d804a41fb5f416b17.zip
Various shellcheck fixes (www.shellcheck.net)
Diffstat (limited to 'translate')
-rwxr-xr-xtranslate2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate b/translate
index 9894e83..9442844 100755
--- a/translate
+++ b/translate
@@ -7,5 +7,5 @@ from=$1
7to=$2 7to=$2
8 8
9shift 2 9shift 2
10text=$(echo $@ | sed 's/ /\%20/g') 10text=$(echo "$@" | sed 's/ /\%20/g')
11open-url "${translator}?sl=${from}&tl=${to}&text=${text}&op=translate" 11open-url "${translator}?sl=${from}&tl=${to}&text=${text}&op=translate"

Generated with cgit - Back to sebastiano.tronto.net