remove space from command output

This commit is contained in:
Morgan Wattiez 2019-07-22 13:13:27 +02:00
parent 06d94dd384
commit 135fc297a3

View File

@ -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 ' '