LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 11-06-2016, 06:43 PM   #1
ChrisJames82
LQ Newbie
 
Registered: Nov 2016
Posts: 3

Rep: Reputation: Disabled
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
 
Old 11-06-2016, 07:06 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Thread has been closed as a duplicate.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Shell Script Help! ChrisJames82 Linux - Newbie 11 11-07-2016 12:51 PM
Calling a bash shell script from within another script dedman Linux - Software 7 04-24-2010 08:53 PM
in bash shell how to run shell script during startup rammohan04 Red Hat 2 07-31-2009 02:07 AM
help with bash shell script !! taiwf Linux - Newbie 5 06-11-2006 06:07 PM
bash shell script globeTrotter Linux - Newbie 5 06-03-2004 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration