bookmarks/count_links.sh
2021-07-05 11:02:45 +02:00

4 lines
150 B
Bash
Executable File

#!/usr/bin/env bash
BASEDIR=$(dirname "$0")
cut -d'(' -f2 $(pwd)/sections/*.md README.md | cut -d')' -f1 | grep "^http" | sort -u | wc -l | tr -d ' '