1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
# This script may be used in command mode of Vim editor:
# :source tolower.script
:1,$s/<HTML/<html/g
:1,$s/HTML>/html>/g
:1,$s/<HEAD/<head/g
:1,$s/HEAD>/head>/g
:1,$s/TITLE>/title>/g
:1,$s/A HREF/a href/g
:1,$s/H1/h1/g
:1,$s/H2/h2/g
:1,$s/H3/h3/g
:1,$s/ALIGN/align/g
:1,$s/CENTER/center/g
:1,$s/<HR/<hr/g
:1,$s/<FONT/<font/g
:1,$s/FONT>/font>/g
:1,$s/SIZE/size/g
:1,$s/BORDER/border/g
:1,$s/<TD/<td/g
:1,$s/TD>/td>/g
:1,$s/TR>/tr>/g
:1,$s/WIDTH=/width=/g
:1,$s/CELLSPACING/cellspacing/g
:1,$s/CELLPADING/cellpading/g
:1,$s/BGCOLOR/bgcolor/g
:1,$s/COLOR/color/g
:1,$s/IMG/img/g
:1,$s/SRC/src/g
:1,$s/TABLE/table/g
:1,$s/\/A/\/a/g
:1,$s/<BR>/<br>/g
:1,$s/B>/b>/g
:1,$s/ROWSPAN/rowspan/g
:1,$s/COLSPAN/colspan/g
:1,$s/PRE/pre/g
|