Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!aplcen!haven!adm!smoke!w8sdz From: w8sdz@smoke.BRL.MIL (Keith Petersen) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: pkarc/pkxarc and/or pkzip/pkunzip for unix Message-ID: <11155@smoke.BRL.MIL> Date: 27 Sep 89 06:40:22 GMT References:<1232@rebel.UUCP> <4757@cps3xx.UUCP> Reply-To: w8sdz@brl.arpa (Keith Petersen) Organization: The SIMTEL20 Archives Lines: 22 hendrick@frith.UUCP (Kenneth J. Hendrickson) writes: >Apparently I didn't think enough before posting my previous question on >this matter. There is another difficulty. Unix stores ascii files with >only a CR for a \n, while both a CR and LF are used for \n in MSDOS. >The kind of files that I would want to transfer most often would be text >files. I could take care of this problem on my PC, or on the Unix >system. Before I write a routine to do this, has anybody already done >it? The ARC for Unix has an "i" option that takes care of that. Example: arc mi download make an archive named download, move all files in the current directory into it with newline conversion for MSDOS. Of course you don't want to do that with binary files. Extracting: arc ei upload extracts all files from upload.arc, stripping the CR's to make the files Unix compatible. Keith -- Keith Petersen Maintainer of SIMTEL20's CP/M, MSDOS, and MISC archives Internet: w8sdz@WSMR-SIMTEL20.Army.Mil [26.2.0.74] Uucp: {ames,decwrl,harvard,rutgers,ucbvax,uunet}!wsmr-simtel20.army.mil!w8sdz