Skip to content
Snippets Groups Projects
Commit e4d63e3e authored by pr1n19's avatar pr1n19
Browse files

Adding README and project objectives

Initial outlines of the project, and ensuring working github
parents
No related branches found
No related tags found
No related merge requests found
README 0 → 100644
Bashscript to intake a directory containing a list of data files
Counts the reviews on each of those data files, then sorts them into descending order before returning them
1
Create cash script called "countreviews.sh" that counts number of reviews in a file
It must take commands and return like so:
./countreviews.sh hotel_72572.dat
15
Must be able to handle both relative and absolute file paths.
2
Extend countreviews.sh to count the reviews of each file in given folder. eg
./countreviews.sh review_folder
15
12
18
...
Must be able to handle both relative and absolute file paths.
3
Rank the hotels according to the reviw count from highest to lowest. eg
./countreviews.sh review_folder
hotel_1322 50
hotel_21313 49
hotel_21322 45
...
Absolute or relative. Note that the .dat is omitted from the returned values
4
Submit, and continue on to LaTex stage
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment