Results 1 to 2 of 2
cat email.txt | egrep -is -f spam.txt
Is there a replacement for egrep that might either
1) work faster or 2) stop on the first match it sees?
(Either one ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-17-2003 #1Banned
- Join Date
- Dec 2002
- Location
- Texas
- Posts
- 242
Replacement for egrep?
cat email.txt | egrep -is -f spam.txt
Is there a replacement for egrep that might either
1) work faster or 2) stop on the first match it sees?
(Either one might be helpful, #2 would be great.)
- 10-20-2003 #2Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
Code:cat email.txt | grep -i "mytext" | head -1
Regards
Andutt


Reply With Quote
