diff options
-rwxr-xr-x | 192/main.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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}' |