printing the associated filenames found by 'strings'

subPlanck_at_excite.com
Date: 03/30/05


Date: 29 Mar 2005 14:01:06 -0800

I'm trying to find a certain text string in a large number of binary
files. The 'strings' utility finds the files, the offset and the string
I'm searching for, but it doesn't print the associated filenames, like
grep does. How do I modify the expression below to show them?

find / -name "*.dll" -exec string -a -x {} ; | grep 'foo bar'

z.entropic



Relevant Pages

  • Re: works on console but not when writing to a string or file
    ... I would think that what's strange is that your code doesn't work, not that some other code does. ... System.Console.Write(Encoding.ASCII.GetString(data, offset, ... in the outputdata string the last packets gets chopped off. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How do I find strings with wildcards?
    ... offset in a string. ... set match = match + 1 ...
    (comp.lang.pascal.delphi.misc)
  • Re: after ids
    ... I have no string opinion yet, I'd just like to know your analysis. ... Normally this Tcl_Obj probably won't shimmer, ... objPtr->internalRep would have an integer value that we use as an offset ... Then when we want to acccess a TimerHandler struct for after id or after ...
    (comp.lang.tcl)
  • Re: SQL Logic Question
    ... I have a COLOR and OFFSET that is used as the reference. ... from the main dtaTable (or dtaRS). ... Sub CalculateColumnSums() ... Dim RsDates as cRecordset, SQL as String, i As Long ...
    (microsoft.public.vb.database)
  • Re: Base64Encoder for Stream
    ... Now Im converting stream to String, Im encoding and then string to ... offset: shortint; ... end;// base64, mime ...
    (borland.public.delphi.thirdpartytools.general)