From 8c9db021b957b0c64f38e9e1e001d3d8cfad36f3 Mon Sep 17 00:00:00 2001 From: Konstantin <57292616+mcei@users.noreply.github.com> Date: Fri, 19 Nov 2021 15:25:16 +0700 Subject: [PATCH] Update google.sh --- google.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google.sh b/google.sh index f8a8085..c1e2f3a 100644 --- a/google.sh +++ b/google.sh @@ -18,6 +18,6 @@ if [ ! $(which w3m) ]; then exit 1 fi -QUERY=$(echo "$@" | tr ' ' '+') +QUERY=$(tr ' ' '+' <<<$@) w3m "https://www.google.com/search?q=${QUERY}"