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

Re: Grepping a Binary Input



On Tue, 2004-10-19 at 09:04, Travis Owens wrote:
> What tools/utils can I use to grep a binary stream from a redirect?
> Thanks!

Try strings ... e.g.,
  command | strings | grep -i whatever

Strings will filter out anything that is non-text.


-- 
Bryan J. Smith                                  b.j.smith@ieee.org 
------------------------------------------------------------------ 
"Communities don't have rights. Only individuals in the community
 have rights. ... That idea of community rights is firmly rooted
 in the 'Communist Manifesto.'" -- Michael Badnarik



-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.