Xref: utzoo comp.unix.xenix:8182 comp.sys.ibm.pc:36811 Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.xenix,comp.sys.ibm.pc Subject: Re: converting line-feed to cr/lf in a file Message-ID: <3793@solo6.cs.vu.nl> Date: 24 Oct 89 04:34:32 GMT References: <636@holston.UUCP> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 13 $ cat xenix-to-dos : exec sed 's/$/^M/' ${1+"$@"} $ cat dos-to-xenix : exec sed 's/.$//' ${1+"$@"} $ (where ^M stands for ctrl-M) -- A symbolic link is a POINTER to a file, | Maarten Litmaath @ VU Amsterdam: a hard link is the file system's GOTO. | maart@cs.vu.nl, mcsun!botter!maart