Who knows teco?

Paul Koning pkoning at equallogic.com
Mon Oct 18 07:38:01 CDT 2004


>>>>> "Paul" == Paul Koning <pkoning at equallogic.com> writes:

 >> FN^j$<cr>$ <--- change all vs FS change next

OOPS.  Brain lockup.

FN means "replace next anywhere between here and end of file" while FS
means "replace next in current buffer".  Current buffer holds whatever
fits, or up to the next form feed character.

To do replace-all, you need a loop:

   <FN<lf>$<cr>$;>

Angle brackets are loop delimiters; semicolon is "exit loop if
preceding command failed".

	  paul




More information about the cctalk mailing list