Re: Mass editing and xhtml vs. HTML
On Sun, Mar 19, 2006 at 03:56:40PM +0100, Jutta Wrage wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> As I have seen that a few pages use xhtml closing tags, a note about
> editing those files with vi and making mass changes (all languages
> for one page at the same time).
>
> for example I want to take the <br> tag.
>
> Sometimes it is necessary to replace it by somehting like <li>, <dd>
> or whatever to make a page which is not layouted by <br>, $nbsp; and
> others. Replacing something like <tag> and </tag> is quite easy and
> quick using cw (change word) in vi(m). But if there are files in
> between using <tag/ > this will not work. Time to edit files
> increases a lot.
>
> You might think: heh, she can use just ":1,$s/old/new/g"
[...]
It might also be: "What is she writing about?" ;)
Please give examples, I did not understand your point at all.
Denis
Reply to: