Thread: question about about Bourne Shell programming

  1. #1
    Registered User
    Join Date
    Mar 2008

    question about about Bourne Shell programming

    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
    Can anybody help me out.

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Katy, Texas
    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?
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    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.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. shell question
    By jordanguyoflove in forum C Programming
    Replies: 3
    Last Post: 03-10-2009, 08:39 AM
  2. shell execution question
    By Overworked_PhD in forum Linux Programming
    Replies: 0
    Last Post: 10-19-2008, 08:52 AM
  3. Question...
    By TechWins in forum A Brief History of
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  4. Virtual Folder Question (Shell)
    By The Dog in forum Windows Programming
    Replies: 1
    Last Post: 04-03-2003, 03:18 PM
  5. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM