aboutsummaryrefslogblamecommitdiffstats
path: root/192/main.sh
blob: 7ddcbf890d506e766b08c570a616ac6950a27198 (plain) (tree)
1
2
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}'