Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!yale!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.sys.apple2 Subject: Re: Uploading files from GS to Unix. Message-ID: <15507@smoke.brl.mil> Date: 19 Mar 91 01:26:58 GMT References: <16701@chopin.udel.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 14 In article <16701@chopin.udel.edu> sharris@chopin.udel.edu (Scott A Harris) writes: >Hello again, I have created a 16 page paper on AppleWorks GS and I have >uploaded it to the mainframe (a unix bases system running Sun O.S. v 4.1.1) >Unfortunately the file had been stripped of carriage returns so that I am >help less to do any typed of editing. My question is, is there a way to >keep the returns in and where is the program that will convert GS line feeds >to unix line feeds. Sure; any decent file transfer protocol will support text-mode transfers that preserve line delimiters (using whatever is appropriate on each end). Failing that, transmission of the file in uninterpreted binary mode would produce a UNIX file containing ASCII CR delimiters, which can be turned into the UNIX newline convention's ASCII LF characters using the command: tr '\015' '\012' < apple_image > unix_text