bookmarks/count_links.sh

4 lines
144 B
Bash
Raw Permalink Normal View History

2019-11-22 22:43:55 +00:00
#!/usr/bin/env bash
2018-09-03 07:47:54 +00:00
BASEDIR=$(dirname "$0")
2019-11-22 22:43:55 +00:00
cut -d'(' -f2 "$BASEDIR/README.md" | cut -d')' -f1 | grep -E "^http*" | sort -u | wc -l | tr -d ' '