question about about Bourne Shell programming [Archive] - C Board

PDA

View Full Version : question about about Bourne Shell programming


thungmail
03-31-2008, 08:06 PM
I am new to Linux programming. I would like to write a Bourne shell script and it is invoked as follows

script1 <classList>
for example
script1 /A/B/list
<classList> is the full path name of a list of students in a class.
Each line is of the form <loginId> whitespace <name>. For example,the file may look like this
cs123456 David A. Smith
cs234567 Mark Jones
etc.

Can anybody help me out.

Dino
03-31-2008, 10:05 PM
You have described just about nothing.

You want a shell script that is passed the path to a file, and you have described what the file looks like.

So... the $64 question is, what is this script supposed to do?

CornedBee
04-01-2008, 04:37 AM
This looks very much like homework. Before you describe what the script should do and then simply ask for help again, review the homework policy of this site.