File processing


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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
# 3  
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?
Login or Register to Reply

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

More UNIX and Linux Forum Topics You Might Find Helpful
awk processing / Shell Script Processing to remove columns text file
ajayram
Hello, I extracted a list of files in a directory with the command ls . However this is not my computer, so the ls functionality has been revamped so that it gives the filesizes in front like this : This is the output of ls command : I stored the output in a file filelist 1.1M...... Programming
5
Programming
How to make parallel processing rather than serial processing ??
Samb95
Hello everybody, I have a little problem with one of my program. I made a plugin for collectd (a stats collector for my servers) but I have a problem to make it run in parallel. My program gathers stats from logs, so it needs to run in background waiting for any new lines added in the log...... Shell Programming and Scripting
0
Shell Programming and Scripting
how to change the current file processing to some other random file in awk ?
salman4u
Hello, say suppose i am processing an file emp.dat the field of which are deptno empno empname etc now say suppose i want to change the file to emp.lst then how can i do it? Here i what i attempted but in vain BEGIN{ system("sort emp.dat > emp.lst") FILENAME="emp.lst" } { print...... Shell Programming and Scripting
2
Shell Programming and Scripting
Have a shell script check for a file to exist before processing another file
heprox
I have a shell script that runs all the time looking for a certain type of file and then it processes the file through a series of other scripts. The script is watching a directory that has files uploaded to it via SFTP. It already checks the size of the file to make sure that it is not still...... Shell Programming and Scripting
3
Shell Programming and Scripting