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...