[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14Jul2010 16:54, fred smith <[email protected]> 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 <[email protected]> DoD#743
http://www.cskk.ezoshosting.com/cs/

Live to Flame - Flame to Live - Flame to WIN
        - Lou Montgomery <[email protected]>
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]
  Powered by Linux