diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-06-20 23:01:09 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-06-20 23:01:09 +0200 |
| commit | 581865ee0c8b8aea872f053d804a41fb5f416b17 (patch) | |
| tree | 9a2f99ea48c31629a5c3c42b0454483982cdbfed /translate | |
| parent | c5d101ab2c9db3b1a001cb56953cb90b24f8fdcf (diff) | |
| download | scripts-581865ee0c8b8aea872f053d804a41fb5f416b17.tar.gz scripts-581865ee0c8b8aea872f053d804a41fb5f416b17.zip | |
Various shellcheck fixes (www.shellcheck.net)
Diffstat (limited to 'translate')
| -rwxr-xr-x | translate | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -7,5 +7,5 @@ from=$1 | |||
| 7 | to=$2 | 7 | to=$2 |
| 8 | 8 | ||
| 9 | shift 2 | 9 | shift 2 |
| 10 | text=$(echo $@ | sed 's/ /\%20/g') | 10 | text=$(echo "$@" | sed 's/ /\%20/g') |
| 11 | open-url "${translator}?sl=${from}&tl=${to}&text=${text}&op=translate" | 11 | open-url "${translator}?sl=${from}&tl=${to}&text=${text}&op=translate" |
