RE: Replace 0d with a space
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the extra information. It helps a lot. I don't think it matters Linux vs Unix, except for the version of tr (or sed) you might be using. The file is a series of bytes. You want to change any 0X0D to a space. Let us know if the tr command (assuming GNU tr) works: tr "\015" " " < infile > outfile The sed command may also work. But the tr command seems simpler and more closely related to what you are trying to do (replace one byte with another). Daniel [Non-text portions of this message have been removed]