fix links counting routine for multiple files
This commit is contained in:
parent
68308ccc29
commit
ef6ebe381f
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
cut -d'(' -f2 "$BASEDIR/README.md" | cut -d')' -f1 | grep -E "^http*" | sort -u | wc -l | tr -d ' '
|
cut -d'(' -f2 $(pwd)/sections/*.md README.md | cut -d')' -f1 | grep "^http" | sort -u | wc -l | tr -d ' '
|
||||||
|
Loading…
Reference in New Issue
Block a user