rubyのhref検索プログラム
hrefの候補出力機能より強力である事がわかった。うれしい。
ついでに、hfuncs 'IO'とかかくと、System.Ioの関数もすべて引っかかっていたので修正。
#!/usr/bin/ruby require 'pp' raise "no argments." unless ARGV[0] open(ENV["HREF_DATADIR"]+"/comptable",'r') {|file| while line = file.gets line = (line[line.index(',')+1...line.size].chop).chomp print(line, "\n") if line.include? ARGV[0] end }