I've had several occasions to want to extract the byte-offset
of a text string in a binary file. The various versions of grep
I've used won't provide that unless the file is treated as text
- printing a line indicating that the string is present.

Perhaps it would make sense to check for the -b (--byte-offset)
flag being present before that single line of output and
including the byte offset of the found string as part of the
message if the flag is set.
-- 

Walter M. Pawley <[EMAIL PROTECTED]>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97470
         541-672-8975


Reply via email to