![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| On basic classification of terms | iBot | Complex Event Processing RSS News | 0 | 11-29-2008 02:20 PM |
| Scaling Up Text Classification for Large File Systems | iBot | UNIX and Linux RSS News | 0 | 06-23-2008 05:20 AM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 05:25 AM |
| CDE Classification Banner | rambo15 | UNIX Desktop for Dummies Questions & Answers | 0 | 06-17-2004 03:13 AM |
| Creating a Classification Banner | rambo15 | Shell Programming and Scripting | 1 | 06-16-2004 10:19 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hello Everyone,
I am new to UNIX. I have got a requirement. Thought of posting it in this forum so that someone might help me. Please have a look at the scenario. The Objective is to "classify books into four seperate files and then print a summary report". Specifications are as follows:- The books records are stored in one csv file and the layout and the contents are contained in File 1. There are four categories of books: sports, computing, children's and horror. We should determine the category and then write a series of 3 records to the appropiate file. The files need to be created in the program and their names will be: children, horror, sports and computing. The format of four files is contained in File 2. Records which do not belong to any of the above categories should be printed to the screen as an error. The summary report should be displayed on the screen and will contain the following information: - Date - names of files created (including path name) - total number of boks processed - total value of books File 1 - CSV File sample Code:
ISBN, Title, Category, cost, NO of copies 978-0340681138, Five Get into TRouble (Famous Five), Enid Blyton, Childrens, 6, 3 978-0142301883, The Little Match Girl, Hans Christian Anderson, Childrens, 3, 2 978-0304921532, cell, Stephen King, Horror, 7, 1 978-0596100292, Unix in a Nutshell Scripting, Arnold Robbins, Computing, 17, 2 Code:
ISBN: 978-0340681138 Author: Enid Blyton Title: Five Get into Trouble (Famous Five) Regards, Yarlagadda. Last edited by Yogesh Sawant; 04-01-2009 at 12:13 PM.. Reason: added code tags |
|
||||
|
Hello Yogesh,
Thank you so much for your help. I appreciate your help. My requirement is to write the scripting in Shell Scripting. I am not into Pearl scripting. As I said in my first post I am very new to UNIX. So, I am working on Shell scripting at the moment. So, could you please help me in meeting the requirements in Shell scripting instead of Pearl Scripting. Once again, thanks alot for your help. Regards, yarlagadda. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|