Skip to content

Commit bec92fe

Browse files
This is a bash script that finds n most frequent words in a file
1 parent deb34a6 commit bec92fe

File tree

4 files changed

+9005
-0
lines changed

4 files changed

+9005
-0
lines changed

Word_Frequencies/README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
**Word Frequencies**
2+
3+
4+
This is a script that takes as first parameter the name of a .txt file,
5+
as a second parameter a positive integer N, greater than 0
6+
and returns the N most seen words that are included in the .txt file
7+
8+
**How to Run**
9+
10+
The general execution format is:
11+
>bash word_frequencies.sh [filename param] [integer param]
12+
13+
14+
1. cd to the directory containing the .sh script and open a terminal in that location
15+
2. run bash word_frequencies.sh [the file you selected] [how many words you want to appear]
16+
17+
18+
19+

0 commit comments

Comments
 (0)