Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]RE: tlug: substituting a linefeed in vi
- To: tlug@example.com
- Subject: RE: tlug: substituting a linefeed in vi
- From: Jim Schweizer <schweiz@example.com>
- Date: Mon, 27 Jul 1998 11:29:27 +0900 (JST)
- Content-Transfer-Encoding: 8bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <XFMail.980726172652.schweiz@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Hi all, On 26-Jul-98 Jim Schweizer wrote: > I haven't had much luck figuring out how to substitute a DOS > carriage return with a new linefeed, ASCII code 10, in vi. Turns out I made a mistake... It's not a DOS file after all but a MAC file and there aren't any linefeeds. Jim T. suggested: "tr '\r' '\n' <infile >outfile" which works great outside of vi so I guess I'm all set. Special thanks to the computer science club members over in U of Waterloo! Regards, Jim S. -------------------------------------------------------------- Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30 featuring Linux on multiple platforms: i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ... Next Nomikai: September, 19:30 Tengu TokyoEkiMae 03-3275-3691 -------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- References:
- tlug: substituting a linefeed in vi
- From: Jim Schweizer <schweiz@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: substituting a linefeed in vi
- Next by Date: tlug: 30-pin SIMM source
- Prev by thread: Re: tlug: substituting a linefeed in vi
- Next by thread: tlug: broken Locale support related to Netscape printing problem???
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links