Skip to content

Commit 1f24fa5

Browse files
authored
Create 192-word-frequency.sh
1 parent fdea1d0 commit 1f24fa5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

192-word-frequency.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Read from the file words.txt and output the word frequency list to stdout.
2+
cat words.txt| tr -s ' ' '\n' | sort | uniq -c | sort -r | awk '{print $2, $1}'

0 commit comments

Comments
 (0)