From 2d504528dbaa3e7e59d2812d26231419c33ba44c Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 4 Jul 2022 14:18:17 +0200 Subject: [PATCH] remove last "," --- tools/get_tagcloud_data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/get_tagcloud_data.sh b/tools/get_tagcloud_data.sh index aa5003b..42cf54b 100755 --- a/tools/get_tagcloud_data.sh +++ b/tools/get_tagcloud_data.sh @@ -11,4 +11,4 @@ for channel in $(ls ~/.zen/bunkerbox/channels); do done -echo 'data: [ '$DATA' ]' +echo 'data: [ '$(echo $DATA | sed 's/,*$//g')' ]'