/usr/bin/a2h is in ruby-bcat 0.6.2-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/usr/bin/ruby
# Usage: a2h [-] [<file>...]
# Convert ANSI/VT100 escape sequences to HTML.
require 'bcat/ansi'
require 'bcat/reader'
$stdin.sync = true
$stdout.sync = true
ARGV.push '-' if ARGV.empty?
reader = Bcat::Reader.new(false, ARGV.to_a)
reader.open
filter = Bcat::ANSI.new(reader)
filter.each { |text| $stdout.write(text) }
|