Vi question
/32767
tif at doorstop.austin.ibm.com
Sat Jun 16 06:13:56 AEST 1990
In article <13132 at ulysses.att.com> mab at ulysses.att.com (Muhammad Basit) writes:
>I have a simple vi question. How do I substitute a character with the
>newline character in vi? I tried '\n', '\\n', the ascii code etc but
>it doesn't seem to work.
Assuming that <r><ENTER> isn't what you want, type
Qs/search-pattern/\<ENTER>/<ENTER>vi<ENTER>
This takes you to ex, which can handle this sort of thing. "vi<ENTER>" puts
you back into vi.
Paul Chamberlain | I do NOT represent IBM tif at doorstop, sc30661 at ausvm6
512/838-7008 | ...!cs.utexas.edu!ibmaus!auschs!doorstop.austin.ibm.com!tif
More information about the Comp.unix.questions
mailing list