fixes #3 codacy shell script issues
This commit is contained in:
parent
98f86a22b8
commit
8ad6db49fd
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
git log --author="Morgan" \
|
git log --author="Morgan" \
|
||||||
--format="%ad" \
|
--format="%ad" \
|
||||||
--date="format:%H" |\
|
--date="format:%H" |\
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
git rev-list HEAD --count
|
git rev-list HEAD --count
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
BASEDIR=$(dirname "$0")
|
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 ' '
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
cat "$BASEDIR/README.md" | cut -d'(' -f2 | cut -d')' -f1 | egrep "^http*" | awk -F/ '{print $3}' | sort | uniq -c | sort -n
|
cut -d'(' -f2 "$BASEDIR/README.md" | cut -d')' -f1 | grep -E "^http*" | awk -F/ '{print $3}' | sort | uniq -c | sort -n
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
cat "$BASEDIR/README.md" | cut -d'(' -f2 | cut -d')' -f1 | egrep "^http*" | awk -F/ '{print $3}' | sed -E -e 's_.*\.([^\.]+)$_\1_g' | sort | uniq -c | sort -n
|
cut -d'(' -f2 "$BASEDIR/README.md" | cut -d')' -f1 | grep -E "^http*" | awk -F/ '{print $3}' | sed -E -e "s_.*\.([^\.]+)\$_\1_g" | sort | uniq -c | sort -n
|
||||||
|
Loading…
Reference in New Issue
Block a user