🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.software
Article #59

Re: Calling all unix programmers: MAC2UNIX and UNIX2MAC anyone?

#59
From: Magnus Nordborg
Date: Thu, 29 Oct 1992 21:51
38 lines
1630 bytes
In article <1992Oct28.021445.24135@athena.mit.edu> lones@lones.mit.edu  
(Lones A. Smith) writes:
> Hi,
> 
> Now that 3.0 reads MAC and DOS diskettes, it would be nice if NeXT  
> included a simpl textfile concversion option. In the absence of such  
> aforethought, does there exist any kind unix programmers out there who  
can  
> create a program so that my linebreaks (and any other nuances of how  
unix  
> and macs treat text files) are preserved when I start a text only file  
on  
> one platform and finish it on another?
> 
> The motive here is LaTeXing files.
> 
> --
> Lones A. Smith
> Department of Economics
> MIT E52-252C
> Cambridge MA 02139
> v-mail: (617) 253-0914
> e-mail: lones@lones.mit.edu      (either NeXT mail or the garden variety  
> stuff)

I have this in my ".cshrc":

    	# for transferring ASCII files from/to Macintosh
    	alias mac2unix "tr '\015' '\012' < \!^ > \!^.tmp; mv \!^.tmp \!^"
    	alias unix2mac "tr '\012' '\015' < \!^ > \!^.tmp; mv \!^.tmp \!^"

--


		Magnus Nordborg
		Department of Biological Sciences
		Stanford University
		magnus@fisher.stanford.edu (NeXT mail preferred)
Technical Details
Message-ID: <1992Oct29.215133.7962@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!news
References: <1992Oct28.021445.24135@athena.mit.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.software
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!news
From: magnus@Fisher.Stanford.EDU (Magnus Nordborg)
Subject: Re: Calling all unix programmers: MAC2UNIX and UNIX2MAC anyone?
Message-ID: <1992Oct29.215133.7962@leland.Stanford.EDU>
Sender: news@leland.Stanford.EDU (Mr News)
Organization: DSO, Stanford University
References: <1992Oct28.021445.24135@athena.mit.edu>
Date: Thu, 29 Oct 92 21:51:33 GMT
Lines: 38