I'm using GNU grep 2.5.4.  I'm grepping a binary file in Windows that
has record delimiters of CRLF  (x'0D 0A').  My grep selects the proper
rows, but, when sending the results to a file, it's adding a CR to the
end of each record.  So, now my records all end with x'0D 0D 0A'.

 

Is this a bug?  Or, is there a way to tell grep to NOT add this extra
x'0D' byte?

 

Thanks, Gary

 

 

 

 

Reply via email to