Bash shell script help?
Could someone possibly email me at <removed> and help me with my bash shell script assignment? This is my first linux class and Im taking it online, which is turning out to be a huge mistake, my teacher doesnt answer back quickly at all and I'm having a hard time with this assignment. I am not asking you to do the assignment just please guide me in the right direction. I really dont want to have to drop this class and take it again next semester. For the assignment we had to download a pdf to the terminal which I have done now I need help.
this is the assignment
Create a bash shell script, named uniq-teams.sh that uses pdftotext, sed, and perl -p -i -e (note: you may not need the -i) to create a sorted list of non-duplicated team names from the selected pages of the PDF file.
It must take the following parameters:
input pdf filename
start page
end page
If any of the parameters are missing, your program should print usage instructions.
Your script must remove the following:
Must remove blank/empty lines
Page breaks
Must remove duplicates
Must remove non-team lines, e.g. Area and Ballroom
Thanks a lot in advance.
Last edited by rtmistler; 11-06-2016 at 07:06 PM.
Reason: Thread closed - duplicate
|