Problems
Scratchpad
Run
Submit
0
0
1
2
3
4
5
6
7
8
9
0
0
1
2
3
4
5
6
7
8
9
:
0
0
1
2
3
4
5
6
7
8
9
0
0
1
2
3
4
5
6
7
8
9
Toggle theme (Current: Custom)
Scratchpad
Run
Submit
Description
Hints
Solutions
192. Word Frequency
Medium
30 Points
Shell
Write a bash script to calculate the frequency of each word in a text file words.txt. For simplicity sake, you may assume:
Examples
Example 1
the day is sunny the the the sunny is is
Example 2
the 4 is 3 sunny 2 day 1
Select language...
Code
Tests
Result
Description
Hints
Solutions
192. Word Frequency
Medium
30 Points
Shell
Write a bash script to calculate the frequency of each word in a text file words.txt. For simplicity sake, you may assume:
Examples
Example 1
the day is sunny the the the sunny is is
Example 2
the 4 is 3 sunny 2 day 1
Select language...
Code
Tests
Result
Word Frequency - Practice Coding | SlaveCode