html转xhtml

来源:互联网 发布:金苹果淘宝培训学院 编辑:程序博客网 时间:2024/05/16 05:31

使用ubuntu下的tidy,写了个脚本:

#!/bin/sh

for file in $(find *.html)

do

tidy --output-xhtml yes --input-encoding utf8 --char-encoding utf8 --quiet yes -m $file

done


#!/bin/sh
for file in $(find *.html)
do
tidy --output-xhtml yes --input-encoding utf8 --char-encoding utf8 --quiet yes -m $file
原创粉丝点击