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
awk help in processing file. ekb Shell Programming and Scripting 3 4 Weeks Ago 10:50 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 10:52 AM
processing a file with sed and awk manouche Shell Programming and Scripting 4 10-11-2007 04:25 PM
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

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 5 Days Ago
sentak sentak is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 13
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 (permalink)  
Old 5 Days Ago
vgersh99's Avatar
vgersh99 vgersh99 is offline Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,119
A sample input and a desired output would be a good start (using the code tags of course).
  #3 (permalink)  
Old 5 Days Ago
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,650
Quote:
Originally Posted by sentak View Post
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 (permalink)  
Old 4 Days Ago
sentak sentak is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 13
I am using ksh
  #5 (permalink)  
Old 4 Days Ago
ahmad.diab's Avatar
ahmad.diab ahmad.diab is offline
Registered User
  
 

Join Date: May 2008
Location: Amman Jordan in MEA
Posts: 227
need sample of i/p & desired o/p please.
Sponsored Links
Reply

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 10:57 PM.


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