From 135fc297a3fa67eca9d3b5088a884e509302a03b Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Mon, 22 Jul 2019 13:13:27 +0200 Subject: [PATCH] remove space from command output --- count_links.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/count_links.sh b/count_links.sh index e705593..2f7cc81 100755 --- a/count_links.sh +++ b/count_links.sh @@ -1,3 +1,3 @@ #/usr/bin/env bash BASEDIR=$(dirname "$0") -cat "$BASEDIR/README.md" | cut -d'(' -f2 | cut -d')' -f1 | egrep "^http*" | sort -u | wc -l +cat "$BASEDIR/README.md" | cut -d'(' -f2 | cut -d')' -f1 | egrep "^http*" | sort -u | wc -l | tr -d ' '