The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to convert value in a variable from upper case to lower case manmeet Shell Programming and Scripting 2 11-13-2008 02:22 PM
Vancouver Joomla!Day provides case study in community-building techniques iBot UNIX and Linux RSS News 0 06-16-2008 02:30 PM
Script needed to select and delete lower case and mixed case records abhilash mn Shell Programming and Scripting 1 03-17-2008 08:00 AM
Ignore case sensitive in Case Switch annelisa Shell Programming and Scripting 1 07-13-2006 04:36 AM
lower case to upper case string conversion in shell script dchalavadi UNIX for Dummies Questions & Answers 3 05-29-2002 12:07 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-06-2009
Manikanth_V Manikanth_V is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 1
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 (permalink)  
Old 02-06-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,706
Homework violation. Email in post violation. Thread closed.

Please read the rules before posting.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0