Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

unix script

Original Message
Name: asdfghj
Date: April 10, 2006 at 08:53:24 Pacific
Subject: unix script
OS: windows
CPU/Ram: 256
Comment:
This script will
be capable of handling a certain file type, which I call the musician data
file (MDF). The MDF is a simple text file, which has the format:
<Musician name> <Musician Surname> <instrument> <band>
In other words, say file “list” (which is an MDF file) exists in our home
directory and when we say
$ cat list
Joe Satriani Guitar Single
Erkan Ogur Guitar Telvin
Mike Portnoy Drums DreamTheater
Sebnem Ferah Vocals Volvox
John Myung Bass DreamTheater
Your script should be callable in the following two formats:
yourscript mdffilename instrument
yourscript mdffilename bandname
These operations are
1. Find an instrument user: When an instrument name is entered the
musicians of that instrument should be listed
$ yourscript list Guitar
Joe Satriani Guitar Single
Erkan Ogur Guitar Telvin
2. Find a band member: When an band name is entered the musicians of that
band should be listed
$ yourscript list DreamTheater
Mike Portnoy Drums DreamTheater
John Myung Bass DreamTheater
If yourscript is executed with any invalid parameter, it should return
without doing anything.



Report Offensive Message For Removal


Response Number 1
Name: asdfghj
Date: April 10, 2006 at 08:57:57 Pacific
Subject: unix script
Reply: (edit)
Has anyone help me?

Report Offensive Follow Up For Removal

Response Number 2
Name: nails
Date: April 10, 2006 at 09:47:11 Pacific
Subject: unix script
Reply: (edit)
you probably won't get any help on homework without making an effort.


Report Offensive Follow Up For Removal

Response Number 3
Name: asdfghj
Date: April 10, 2006 at 09:49:13 Pacific
Subject: unix script
Reply: (edit)
of course I made an effort but I couldnt do this.Lastly I wrote here

Report Offensive Follow Up For Removal

Response Number 4
Name: ghostdog
Date: April 10, 2006 at 23:06:41 Pacific
Subject: unix script
Reply: (edit)
you might want to show us what you did first.
did you write a script already? if yes, show us and maybe we could help you correct anything wrong.

Report Offensive Follow Up For Removal

Response Number 5
Name: lchi2000g
Date: May 1, 2006 at 07:02:09 Pacific
Subject: unix script
Reply: (edit)
100% agree with nails:

"you probably won't get any help on homework without making an effort."

Luke Chi


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: unix script

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




My PC has been hijacked!

Lexmark 2600 Printer Issues

btk1w1 infected start here post

Unwanted message remians on screen

Slow boot time


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC