Re: delete "0D"



H. Peter Anvin <hpa@xxxxxxxxx> wrote in part:
J.Dorval wrote:
does exist a tool destroy bytes value "0D" in a file ?
I did not found it with google.

On a Unix system (or using Cygwin):
tr -d '\r' < file > file.out
Not that this has anything to do with assembly language...


There is also the `fromdos` utility that changes
CR/LF into LF.

-- Robert

.



Relevant Pages

  • Re: wait(pid) problem
    ... > Maybe Cygwin doesn't conform to POSIX in this respect, ... > should post to a Windows newsgroup, since this shouldn't happen in a ... Or maybe he should try to get it working on an actual Unix system first ... Linux-on-a-CD distribution like Knoppix. ...
    (comp.unix.programmer)
  • Re: Viewing Binary Data
    ... If you are on a UNIX system, or on Windows with Cygwin, you can use the 'od' command to dump a file in hex or octal. ... And if you're on a Linux system and have KDE loaded, use the KHexEdit ... sweet utility. ...
    (comp.lang.python)
  • Re: syscalls.h or equivalent in cygwin or Linux
    ... > interfacing with the Unix system. ... > Cygwin. ... I have tried to locate the declarations for the read and write ...
    (comp.lang.c)
  • Re: syscalls.h or equivalent in cygwin or Linux
    ... > interfacing with the Unix system. ... > Cygwin. ... I have tried to locate the declarations for the read and write ...
    (comp.lang.c)
  • OpenGL Cygwin windows skeleton
    ... skeleton for compiling in Cygwin. ... I can't seem to find this on Google ...
    (comp.graphics.api.opengl)