Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!m.cs.uiuc.edu!vela!rigel.acs.oakland.edu!w8sdz From: w8sdz@rigel.acs.oakland.edu (Keith Petersen) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Is there a MSDOS .Z uncompress utility? Keywords: compress uncompress .Z Message-ID: <5748@vela.acs.oakland.edu> Date: 9 Apr 91 17:02:58 GMT References: <1991Apr7.203219.15740@ccu1.aukuni.ac.nz> <1991Apr8.172213.1606@midway.uchicago.edu> <1991Apr9.121315.1523@uwasa.fi> Sender: news@vela.acs.oakland.edu Organization: Oakland University, Rochester, MI Lines: 30 ts@uwasa.fi (Timo Salmi) writes: > This is a common problem. Unix and MsDos use different eolns (end >of lines) for text files. Msdos uses ascii 13 10 while Unix uses >10. Might it be that COMP430D just puts is the ascii 10 (^J). COMP430D is identical to the Unix compress/uncompress program. In fact it was compiled from the same source code (see COMP430SR.ZIP). Unix compress does *not* alter files, it just compresses them. Unix uncompress restores the file to its original contents. The MS-DOS version does the same. There is an excellent program by Rahul Dhesi called FLIP which corrects text file end-of-lines, flipping back and forth between Unix and MS-DOS. It's available from WSMR-SIMTEL20.ARMY.MIL [26.2.0.74]: Directory PD1: Filename Type Length Date Description ============================================== FLIP1EXE.ARC B 18374 890731 Convert text files MSDOS<->UNIX format, 1of2 FLIP1SRC.ARC B 26708 890713 Convert text files MSDOS<->UNIX format, 2of2 The source code in FLIP1SRC.ARC will compile on Unix or MS-DOS. Keith -- Keith Petersen Maintainer of SIMTEL20's MSDOS, MISC & CP/M archives [IP address 26.2.0.74] Internet: w8sdz@WSMR-SIMTEL20.Army.Mil or w8sdz@vela.acs.oakland.edu Uucp: uunet!umich!vela!w8sdz BITNET: w8sdz@OAKLAND