Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Editing UNIX files from Mac OS Message-ID: <31462@ucbvax.BERKELEY.EDU> Date: 23 Sep 89 02:47:03 GMT References: <15944@brunix.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 13 In article <15944@brunix.UUCP> jcg@iris.brown.edu (Jim Grandy) writes: >Can someone point me to a Mac OS editor which can read and edit text files >in which, as in UNIX, line feeds are used instead of carriage returns? One solution: if you can find an editor available in source code, such as a copy of the now out of print CAPPS', you can add a little loop to the read and write routines to convert line feeds to carriage returns on read and convert carriage returns to line feeds on write. In compiled code, it will take just a millisecond. --- According to the Constitution, the Constitution is unconstitutional: --- David Phillip Oster --U.S.Constitution I.10.1: "No State shall Arpa: oster@dewey.soe.berkeley.edu --enter into any treaty, alliance, or Uucp: {uwvax,decvax}!ucbvax!oster%dewey.soe.berkeley.edu -- confederation..."