goal.
The goal of this assignment is to practice using shell scripts and Perl.
This assignment is worth 10 points (out of 110 this semester). Distribution of points is indicated below.
task.
You will need to write 5 shell scripts and and one Perl script in
order to manipulate your data file.
For the purpose of this assignment, you will assume that you have
a text data file that is formatted as follows:
yaddi 3 5 9 suzanne 9 23 1 5 7 jennifer 1 2 3 6 alex 9 8 3 5 simonThere are five users. The first user, "yaddi", has played 3 games. The last user, "simon", has not played any games.
scripts.
You need to write the following scripts to manipulate this file.
Make sure you name the scripts as indicated below!!!
display.sh
(1 point)unix$ display.sh alex 9 8 3 5 jennifer 1 2 3 6 simon suzanne 9 23 1 5 7 yaddi 3 5 9 unix$
find.sh
(1.5 points)unix$ find.sh yaddi yaddi 3 5 9 unix$
findgame.sh
(2 points)unix$ findgame.sh yaddi 2 5 unix$
create.sh
(2 points)unix$ create.sh sylie unix$ display.sh alex 9 8 3 5 jennifer 1 2 3 6 simon suzanne 9 23 1 5 7 sylie yaddi 3 5 9 unix$
delete.sh
(2 points)unix$ delete.sh sylie unix$ display.sh alex 9 8 3 5 jennifer 1 2 3 6 simon suzanne 9 23 1 5 7 yaddi 3 5 9 unix$
update.pl
(2 points)unix$ update.pl simon 3 unix$ display.sh alex 9 8 3 5 jennifer 1 2 3 6 simon 3 suzanne 9 23 1 5 7 yaddi 3 5 9 unix$
submit.(0.5 points)
You need to submit your program in ONE way: ELECTRONICALLY ONLY.
There is no partial credit here -- if you don't follow the submission
instructions, you lose all the points for this section.
Follow the submission instructions.
Make sure you submit ALL SIX scripts you have written
AND the "users.dat" data file.
Make sure you name the scripts as described above.