bookmarks/top_extensions.sh
2019-11-22 23:43:55 +01:00

4 lines
201 B
Bash
Executable File

#!/usr/bin/env bash
BASEDIR=$(dirname "$0")
cut -d'(' -f2 "$BASEDIR/README.md" | cut -d')' -f1 | grep -E "^http*" | awk -F/ '{print $3}' | sed -E -e "s_.*\.([^\.]+)\$_\1_g" | sort | uniq -c | sort -n