文書変換ツール

[root@c ~]# yum --enablerepo=epel install pandoc

wgetで取得したhtmlらを単純にtextへ変換するには

#bin/bash
 
for i in `find . -name *.html`;do
  echo   $i ${i%*}.txt
  pandoc -o ${i%*}.txt  $i
 
done

でできる

utf8/sjis問題が、、、


トップ   編集 添付 複製 名前変更     ヘルプ   最終更新のRSS
Last-modified: 2017-07-10 (月) 20:02:36 (2160d)