vi escape command from EX mode in script
Ronny Hippler
animefan at ronnyhippler.com
Mon Nov 28 04:38:45 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I am trying to execute the following script via :so
- ---------------------------------------------------
:%s/^/par2 r \"/g
:%s/$/\"/g
:1
:i
#!/bin/sh
.
- ---------------------------------------------------
all works fine until the end where I get the prompt:
"Entering ex input mode."
entering a period escapes it at that point, but it sticks the "." in the
text file i am editing. What character issues an escape in this version
of vi? The period works fine in vim to end text entry. TIA
Please respond off list also as I am not subscribed. Thanks again!
- --
Ronny Hippler || Spartanburg SC
http://www.ronnyhippler.com/ || ftp://ftp.vr5.dyndns.org:2112/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDiomYN6qJSxoonroRArUKAKCdHl1xOrs1Yg4PPX5NG2QVmKo7MACgxocf
OJkiO3q5DZXfUH89ZAqXshM=
=XKF9
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list