parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

output of parallel pipe to another grep


From: Asif Iqbal
Subject: output of parallel pipe to another grep
Date: Wed, 19 Apr 2017 21:24:13 -0400

Hi I have multiple compressed files that I need to run grep against.

I am trying to find 'foo', 'bar' and '192.168.1.100' against all the compressed log files.

This will work?

ls 201612*.gz | parallel zgrep foo {} | grep bar | grep 192.168.1.100 

Thanks for such an awsome tool!

--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]