The UNIX and Linux Forums  

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
Carreer:Networking Programming in Unix (C programming Language) vibhory2j UNIX for Dummies Questions & Answers 5 09-05-2008 08:57 PM
shell programming in unix nivas Shell Programming and Scripting 2 02-14-2008 01:44 AM
Check lists for Unix Shell Programming srikanth_ksv Shell Programming and Scripting 2 08-08-2005 07:40 AM
Any recommended book on Unix & Shell Programming endeavour1985 UNIX for Dummies Questions & Answers 7 01-28-2005 06:01 AM
good book for unix shell programming ajaygodbole Shell Programming and Scripting 3 02-01-2002 09:49 AM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-14-2008
nivas
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Shell Programming in unix

Hi,

i want to read a full file.

If i want to split the file and by reading parralel each, i can save the time.

Can any body give me the suggesion??

ia m using this function to read a file and using that i have to grep in another file. since the file 1 is huge it is taking lot of time.

iam planning to split that and run parraley.

suggesions pls



read_file1()
{
cat file1.txt | while read line
do
grep $line file2.txt >> outputfile.dat
done
}
 

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 07:44 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