From aa23bf01bc5f1140147bbf19182fe40281fe660e Mon Sep 17 00:00:00 2001 From: Morgan Date: Wed, 12 Sep 2018 03:36:21 +0200 Subject: [PATCH] script: top extensions, useless but hey look I'm tired --- top_extensions.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 top_extensions.sh diff --git a/top_extensions.sh b/top_extensions.sh new file mode 100644 index 0000000..d97c2c0 --- /dev/null +++ b/top_extensions.sh @@ -0,0 +1,3 @@ +#/usr/bin/env bash +BASEDIR=$(dirname "$0") +cat "$BASEDIR/README.md" | cut -d'(' -f2 | cut -d')' -f1 | egrep "^http*" | awk -F/ '{print $3}' | sed -E -e 's_.*\.([^\.]+)$_\1_g' | sort | uniq -c | sort -n