bookmarks/count_links.sh

4 lines
150 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")
cut -d'(' -f2 $(pwd)/sections/*.md README.md | cut -d')' -f1 | grep "^http" | sort -u | wc -l | tr -d ' '