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

Re: multi line regex's in vi ...



> while you can specify that a substitution take place on many lines
> (1,3s/// for lines 1-3, .,$s/// for lines "here" to end of file, or
> %s/// for lines "all") VI is based on EX which is a line editor.

yah, hence my question :)

> there may be some advanced voodoo mumbo-jumbo that will allow VIM (or
> ELVIS, another enhanced VI) to munge the double \n\n the way you want it
> to...

that's what i wanted to know.  i didn't think so but vim has lots of fancy
mumbo jumbo in it :)

> try "man wml" for example ("apt-get install wml" if you don't have
> it)...

cool, i'll check it out, thanks.

adam.


Reply to: