typescript and ^M

Mark Sicignano mark at hsi86.hsi.com
Mon Oct 29 05:14:13 AEST 1990


In article <42995 at eerie.acsu.Buffalo.EDU> haozhou at acsu.buffalo.edu (hao zhou) writes:
>Anyway I wonder if there is any filter I can use to get rid of ^M
>(RETURN) in the typescript file. One way I can do it is to replace all
>^M with null in emacs or vi. Is there any better way of doing this? In

tr -d '\015' < typescript > newfile

works for me.

-mark
-- 
Mark Sicignano                                  ...!uunet!hsi!mark
3M Health Information Systems                   mark at hsi.com



More information about the Comp.unix.shell mailing list