Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: substituting a linefeed in vi
- To: tlug@example.com
- Subject: tlug: substituting a linefeed in vi
- From: Jim Schweizer <schweiz@example.com>
- Date: Sun, 26 Jul 1998 17:26:52 +0900 (JST)
- Content-Transfer-Encoding: 8bit
- Content-Type: text/plain; charset=us-ascii
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Hi all, I haven't had much luck figuring out how to substitute a DOS carriage return with a new linefeed, ASCII code 10, in vi. Something along the lines of :1,$ s/^M/?/ where ? is the linefeed. Can this be done? Thanks, Jim S. ---------------------------------- Jim Schweizer <schweiz@example.com> I'd rather be a node in a network Then a cog in the gear of a machine. A node is involved with things to resolve, While a cog must mesh with cogs in between. http://tlug.linux.or.jp/~jims/ ---------------------------------- -------------------------------------------------------------- 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
- Follow-Ups:
- Re: tlug: substituting a linefeed in vi
- From: Chiew Farn Chung <cfchung@example.com>
- RE: tlug: substituting a linefeed in vi
- From: Jim Schweizer <schweiz@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: ibm.net with LINUX (Red Hat)
- Next by Date: tlug: broken Locale support related to Netscape printing problem???
- Prev by thread: Re: tlug: NO ROM Basic
- Next by thread: Re: tlug: substituting a linefeed in vi
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links