[トップ] [更新履歴] [著書] [コンピュータ] [ゲーム] [CGI配布]
RDからHeadLineの目次RDを作成する。 長文RDを扱うときは便利。
まずこのスクリプトで目次を作成し、もとのRDに「Include」で取り込む。
目次作成
$ rd-hindex.rb input.rd > input.hindex.rd
sh-2.05$ cd ~/src/rd-hindex/ sh-2.05$ head rd-hindex.rb #!/usr/bin/env ruby =begin = RDのHeadLineの目次を作る <<< rd-hindex.hindex.rd == 概要 RDからHeadLineの目次RDを作成する。 長文RDを扱うときは便利。 == 使い方 まずこのスクリプトで目次を作成し、もとのRDに「Include」で取り込む。 sh-2.05$ rd-hindex.rb rd-hindex.rb > rd-hindex.hindex.rd sh-2.05$ rd2 rd-hindex.rb | w3m -e -dump -T text/html | head RDのHeadLineの目次を作る ・ 概要 ・ 使い方 概要 RDからHeadLineの目次RDを作成する。長文RDを扱うときは便利。 使い方