You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
473 B
Bash
9 lines
473 B
Bash
#!/bin/sh
|
|
f=$1
|
|
|
|
perl -pi -e 's!<font color="#6b59ce">(.*?)</font>!<span class="vim-quote">\1</span>!g' $f
|
|
perl -pi -e 's!<font color="#a52829">(.*?)</font>!<span class="vim-statement">\1</span>!g' $f
|
|
perl -pi -e 's!<font color="#ff00ff">(.*?)</font>!<span class="vim-constant">\1</span>!g' $f
|
|
perl -pi -e 's!<font color="#a520f7">(.*?)</font>!<span class="vim-control">\1</span>!g' $f
|
|
perl -pi -e 's!<font color="#008a8c">(.*?)</font>!<span class="vim-var">\1</span>!g' $f
|