On 14Jul2010 16:54, fred smith <fre...@fcshome.stoneham.ma.us> wrote:
| On Wed, Jul 14, 2010 at 10:26:25AM -0700, Mike Wright wrote:
| > Will somebody tell me the symbol to use for a linefeed in substitutions 
| >   as in
| >     :s1,$#</tag>#</tag>linefeed#g
| 
| in vi: ^V^M, or maybe ^V^V^V^M. Try the first then if it doesn't do what
| you want, try the second.

The former; Mike should get a literal ^M in the substiution command.

The latter (^V^V^V^M) I have used in macro definitions to get ^V^M into
the macro, to get the ^M when the macro runs:-)
-- 
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Live to Flame - Flame to Live - Flame to WIN
        - Lou Montgomery <lm8...@tnessd.sbc.com>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to