広告
広告
https://www.7key.jp/software/xlhtml.html#a_01
xlhtml を使えば MS Excell のファイルをテキスト形式やHTML形式など様々な形式のファイルに変換することができる。とりあえずインストール方法を紹介。
https://www.7key.jp/software/xlhtml.html#a_02
xlhtml のダウンロードサイト(http://chicago.sourceforge.net/xlhtml/)から
xlhtml version 0.5 (04-13-02)
をダウンロードする。
https://www.7key.jp/software/xlhtml.html#a_03
「/usr/local/src」辺りに両ファイルをあらかじめコピーしておく。
$ su # tar xzf xlhtml-0.5.gz # cd xlhtml-0.5 # ./configure # make
なんだか「depcomp が見つからない」なんてエラーが発生。よくわからないが検索して同じ物をコピーしてみる
# locate depcomp # cp /usr/share/automake-1.5/depcomp /usr/local/src/xlhtml-0.5/depcomp
もう一度やり直し
# ./configure # make # make install
https://www.7key.jp/software/xlhtml.html#a_04
xlHtml にて出力されるファイルは「UTF-8」なのでこのままでは使い勝手が悪い。 どうも「LV」と言うものを間にかますのがセオリー(?)らしい。 とりあえずhttp://www.ff.iij4u.or.jp/~nrt/lv/からダウンロード。 下記の要領でインストール。
# tar xzf lv451.tar.gz # cd lv451 # cd build # ../src/configure # make # make install
https://www.7key.jp/software/xlhtml.html#a_05
動くかどうかの実験
# xlhtml piyo.xls | lv -Iu8 -Os > piyo.html
広告