#2 s// flags doc bug

closed-rejected
None
5
2008-08-28
2004-07-10
tpop
No

I think I have a doc bug:

search for
...pe the <CR> as CTRL-V <Enter>) *s/
\&lt;CR>*
\n insert a <NL> (<NUL> in the file
__________________^^^^^^^^^

for the flags for the s// command.

"\n" installes new-lines not nulls

Discussion

  • Dan Sharp

    Dan Sharp - 2008-08-28

    Logged In: YES
    user_id=642937
    Originator: NO

    In Vim, a \n in the replacement text of a substitution inserts a NUL (0x00) character. You must use \r to insert a new-line.

     
  • Dan Sharp

    Dan Sharp - 2008-08-28
    • assigned_to: nobody --> dwsharp
    • status: open --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks