Permalink
Find file
7a7e250 Jan 23, 2017
executable file 11 lines (10 sloc) 276 Bytes
#!/usr/bin/ruby
$:.push("#{ENV['HOME']}/bin")
require '__wraputil'
w3m_wrap_each("#{ENV['HOME']}/test/tanlog.rb", ['paths']) do |line|
line =~ / in (.*?)@/
path = CGI.escapeHTML($`)
cmd = $1
log = $'
%Q(<a href="#{path}">#{path}</a> <a href="#{log}">#{cmd}</a>)
end