fixes #3 codacy shell script issues

This commit is contained in:
Morgan
2019-11-22 23:43:55 +01:00
parent 98f86a22b8
commit 8ad6db49fd
5 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,3 @@
#/usr/bin/env bash
#!/usr/bin/env bash
BASEDIR=$(dirname "$0")
cat "$BASEDIR/README.md" | cut -d'(' -f2 | cut -d')' -f1 | egrep "^http*" | sort -u | wc -l | tr -d ' '
cut -d'(' -f2 "$BASEDIR/README.md" | cut -d')' -f1 | grep -E "^http*" | sort -u | wc -l | tr -d ' '