bookmarks/count_links.sh

4 lines
144 B
Bash
Executable File

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