Who knows teco?

Ron Hudson ron.hudson at sbcglobal.net
Sun Oct 17 17:37:32 CDT 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?




More information about the cctalk mailing list