💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › FAQs.and.INFO › UNIX.A2.GS.IN… captured on 2023-03-20 at 22:55:45.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Path: ns-mx!hobbes.physics.uiowa.edu!zaphod.mps.ohio-state.edu!mips!swrinde!elroy.jpl.nasa.gov!nntp-server.caltech.edu!toddpw
From: toddpw@cco.caltech.edu (Todd P. Whitesel)
Newsgroups: comp.sys.apple2
Subject: Re: ShrinkIt 1.0.5 and .Z
Message-ID: <1992Apr5.222820.27105@cco.caltech.edu>
Date: 5 Apr 92 22:28:20 GMT
References: <1992Apr4.180717.6912@msuinfo.cl.msu.edu> <6dOh02WybfG600@amdahl.uts.amdahl.com>
Sender: news@cco.caltech.edu
Organization: California Institute of Technology, Pasadena
Lines: 13
Nntp-Posting-Host: bartman

fadden@uts.amdahl.com (Andy McFadden) writes:

>Your best bet however is to convert them at the UNIX side with "tr".

And these two csh aliases do a great job of automating it:

-----
alias lf2cr "cat \!^ | tr '\012' '\015' > \!^.X ; rm -f \!^; mv \!^.X \!^"
alias cr2lf "cat \!^ | tr '\015' '\012' > \!^.X ; rm -f \!^; mv \!^.X \!^"
-----

Todd Whitesel
toddpw @ tybalt.caltech.edu