File processing

Tags
shell scripts

 
Thread Tools Search this Thread
# 1  
Old 11-15-2009
File processing

Hello,

I am trying to find a solution which could be simple rather than coding unnecessary code. Scenario I have is :-

I have a line sequential text file and while reading the file I need to call some kind of program which does data transfer, and read next so on... The issue I have is I have to process 5 lines at a time, and when 5th one finishes I need to read the file and process so on..... SO always 5 process should be running.. Any help?

Thanks
# 2  
Old 11-15-2009
A sample input and a desired output would be a good start (using the code tags of course).
# 3  
Old 11-15-2009
Quote:
Originally Posted by sentak
Hello,

I am trying to find a solution which could be simple rather than coding ......
What scripting language are you planning to use?

Perl? PHP? Bash? Ksh? other?
# 4  
Old 11-16-2009
I am using ksh
# 5  
Old 11-16-2009
need sample of i/p & desired o/p please.

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
File Processing nikhil jain Shell Programming and Scripting 3 03-29-2017 04:37 AM
awk - Rename output file, after processing, same as input file High-T UNIX for Dummies Questions & Answers 12 02-01-2015 09:34 PM
File processing ATWC Shell Programming and Scripting 8 03-09-2014 06:31 AM
awk processing / Shell Script Processing to remove columns text file ajayram Programming 5 03-23-2013 02:51 PM
Recursive file processing from a path and printing output in a file Optimus81 Shell Programming and Scripting 1 12-14-2012 12:55 PM
Help with File processing karumudi7 Shell Programming and Scripting 7 10-10-2011 04:34 PM
File Processing expert Shell Programming and Scripting 2 05-07-2011 01:42 AM
Help in file processing selvam Shell Programming and Scripting 6 04-16-2011 11:25 PM
How to make parallel processing rather than serial processing ?? Samb95 Shell Programming and Scripting 0 08-16-2010 04:56 AM
help with processing a file dsravan Shell Programming and Scripting 4 06-16-2010 02:22 PM
How to processing the log file within certain dates based on the file name shyork2001 Shell Programming and Scripting 1 04-09-2010 11:58 AM
how to change the current file processing to some other random file in awk ? salman4u Shell Programming and Scripting 2 03-02-2009 04:35 AM
Checking for a control file before processing a data file purna.cherukuri Shell Programming and Scripting 4 09-01-2008 11:52 AM
Have a shell script check for a file to exist before processing another file heprox Shell Programming and Scripting 3 11-14-2006 03:26 AM