The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: Help!!
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-17-2008
m00 m00 is offline
Registered User
 

Join Date: May 2008
Posts: 3
Help!!

Hi, I need help.

I have a couple of things I got stuck on

1)
I have a text file containing 25k search string that I need to search against compressed file. I have used this command but somehow it doesn't seems to use all the search terms.

I have used zgrep --colour=always -nf [name of txt file] name of compressed file

I know the file contains those search string (I have tested with a few of them). somehow it didn't show anything.


2)
With the same text file 1) , I need to search against a folder containing 50k email messages (.eml format). If the .eml file contains match search string, it will move to another folder. So I can run a batch print later on.


Please help!!!

Cheers
Reply With Quote
Forum Sponsor