Case Study help


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Case Study help
# 1  
Old 02-06-2009
Case Study help

Create a Data file with below fields and “|” as delimitor (ac_bal.dat):
A/c No, A/c name ,A/c balance.
1| Mani |1000.00
2| Vikram|1500.00
Create another file say (ac_bal.ctl) which file structure as
Files name, record count ,total balances
Ac_bal.dat|2|3500.00
Please write script in (awk or shell script) choice is yours.
Steps to be done
1.) You need to read the based on filename in (.ctl) file assuming file is stored in same folder itself.
2.) Validate the statistics of record count and a/c balance with .dat file.
3.) Create result.dat file to store the result of comparison.

Last edited by Neo; 02-06-2009 at 07:16 AM.. Reason: removed email
# 2  
Old 02-06-2009
Homework violation. Email in post violation. Thread closed.

Please read the rules before posting.
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Programming

UNIX- -Case study - Library management.

Hi.. I am a new joinee to this foram.I need to submit a case study in UNIX .Please help me to submit the case study by giving your valuable ideas.It will be very helpful for me. Topic: Unix File Management A university wants to computerize its Library operations because of... (2 Replies)
Discussion started by: viji_jeya
2 Replies

2. Shell Programming and Scripting

Script needed to select and delete lower case and mixed case records

HELLO ALL, URGENTLY NEEDED A SCRIPT TO SELECT AND DELETE LOWER AND MIXED CASE RECORDS FROM A COLUMN IN A TABLE. FOR EXAMPLE : Table name is EMPLOYEE and the column name is CITY and the CITY column records will be: Newyork washington ... (1 Reply)
Discussion started by: abhilash mn
1 Replies

3. UNIX for Dummies Questions & Answers

lower case to upper case string conversion in shell script

How can convert a Lower case variable value to an upper case in the kron shell script. (3 Replies)
Discussion started by: dchalavadi
3 Replies
Login or Register to Ask a Question