From 417f91119082a47d279dd2d8833cfd2ca6df5c6f Mon Sep 17 00:00:00 2001 From: Vadim Zhukov Date: Wed, 11 Jul 2018 11:37:54 +0300 Subject: [PATCH] Make zsh happy as well (in sh mode). --- share/cht.sh.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/cht.sh.txt b/share/cht.sh.txt index 7e1fa95..a7dcb89 100755 --- a/share/cht.sh.txt +++ b/share/cht.sh.txt @@ -89,7 +89,7 @@ prepare_query() get_list_of_sections() { - curl -s https://cht.sh/:list | grep -v '/.*/' | grep '/$' + curl -s https://cht.sh/:list | grep -v '/.*/' | grep '/$' | xargs } gen_random_str()