文書変換ツール

#code(nonumber){{
[root@c ~]# yum --enablerepo=epel install pandoc
}}

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

#code(nonumber){{
#bin/bash

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

done
}}

でできる

utf8/sjis問題が、、、
1

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS