From 2ebfeccb3d2b99c69a77174895a606091ff4d5c0 Mon Sep 17 00:00:00 2001 From: verdant Date: Tue, 2 Jun 2026 17:50:25 +0800 Subject: Add word count scipt no arg: just show the word count -s: count and show in descending order --- scripts/word_count.sh~ | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/word_count.sh~ (limited to 'scripts/word_count.sh~') diff --git a/scripts/word_count.sh~ b/scripts/word_count.sh~ new file mode 100755 index 0000000..d37642d --- /dev/null +++ b/scripts/word_count.sh~ @@ -0,0 +1,5 @@ +#!/bin/bash + +if ["$1" = ] + +wc -m *.md | sort -rn -- cgit v1.2.3