Dominique wrote: > James McCoy wrote: > > > On Sat, Aug 01, 2015 at 04:27:53AM +0200, Dominique Pell=C3=A9 wrote: > >> Hi > >> > >> Vim-7.4.803 (and older) accesses invalid memory beyond end of > >> string when doing: > >> > >> $ vim -u NONE -c 'exe "sc"' > >> > >> Bug is fixed in attached patch. > >> > >> Apparently, ":sc" is doing a :substitute command with the > >> 'c' flag. I could not find where it is documented, but perhaps > >> I missed it in the doc. > > > > :[range]s[ubstitute] [flags] [count] > > :[range]&[&][flags] [count] *:&* > > =E2=80=A6 > > The space between `:substitute` and the 'c', 'g' = > and > > 'r' flags isn't required, but in scripts it's a g= > ood > > idea to keep it to avoid confusion. > > > Thanks James, > > OK, so :sc is documented after all. But the documentation > is incomplete. It's missing flags 'i' and 'I'. See attached doc patch.
Thanks! -- Not too long ago, unzipping in public was illegal... /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
