Who knows teco?

From: Ron Hudson <ron.hudson_at_sbcglobal.net>
Date: Sun Oct 17 17:37:32 2004

On Oct 17, 2004, at 2:48 PM, Paul Koning wrote:

>>>>>> "Ron" == Ron Hudson <ron.hudson_at_sbcglobal.net> writes:
>
> Ron> How do I search and replace ^j for ^m^J across the entire file?
>
> You mean change \r\n to \n? I can't figure out if you want that or
> the other way around.
>
> Assuming RSTS, where entering CR gives you \r\n and entering LF gives
> you just \n:
>
> FN<cr><esc><lf><esc>EX<esc><esc>
>
> paul
>
>

Actually I have linefeeds not carriage return/linefeeds btw which
should be first?

Linux (unix) {ohh noo don't look Fred} uses only linefeeds...

EX$$ ? I thought that's what I typed to exit teco... oh wait I get it

FN^j$<cr>$ <--- change all vs FS change next
EX$ <---- exit after changes
$ <--- ok doit already.

right?
Received on Sun Oct 17 2004 - 17:37:32 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:37:22 BST