From 1572b42a4a25d7dd6f4e200f6bfa107f63070da6 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 1 Jan 2024 12:05:36 -0500 Subject: 192 --- 192/main.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 192/main.sh (limited to '192') diff --git a/192/main.sh b/192/main.sh new file mode 100755 index 0000000..7ddcbf8 --- /dev/null +++ b/192/main.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +for word in $(cat ./file.txt); do echo $word;done | sort | uniq -c | sort -nr | awk '{temp=$1; $1=$2; $2=temp; print}' -- cgit v1.2.3