🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.msdos
Article #457

CR/LF Removal & Insertion..How?

#457
From: Dave Everitt
Date: Thu, 21 Mar 1991 16:22
30 lines
1693 bytes
I hope this is the right place to post this, I've loked around and
it seems to match.

I am using a Compaq III with NFS using a SUN 3/60 as my server. What
I would like to do is simply use NET USE G: \\machine\directory and
transfer ASCII files from my C: drive to my new NFS G: drive using
copy. However as all who read this will be familiar DOS uses ^M^J
and the UNIX on my SUN uses only ^J.

Can anyone supply me with the 'sed' scripts to convert from one to
the other, I have tried to create my own but it seems to be taking
longer than I hoped. The other means is to use ftp and let it do the
work, but that is nowhere near as easy as copy+script......

Please mail me directly as everitt@pedigree.amd.com as the rn
warning message has made me feel guilty of the cost of asking this
question, and I'd hate for it to go any further than necessary :-)


Regards, 
Dave

--------------------------------------------------------------------
Dave Everitt 8-{)                          dave.everitt@AMD.COM
--
--------------------------------------------------------------------
Dave Everitt 8-{)                          dave.everitt@AMD.COM
Advanced Micro Devices
Mail Stop 83-90
Technical Details
Message-ID: <1991Mar21.162255.13758@dvorak.amd.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!veritas!amdcad!dvorak.amd.com!mozart!everitt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!veritas!amdcad!dvorak.amd.com!mozart!everitt
From: everitt@mozart.amd.com (Dave Everitt)
Newsgroups: comp.unix.msdos
Subject: CR/LF Removal & Insertion..How?
Message-ID: <1991Mar21.162255.13758@dvorak.amd.com>
Date: 21 Mar 91 16:22:55 GMT
Sender: usenet@dvorak.amd.com (Usenet News)
Distribution: comp.unix.msdos
Organization: Advanced Micro Devices, Inc.; Austin, Texas
Lines: 30