Sha256: 44cf6e089c341ac2b69e0391325280513901a45276a5ae89f7d5ea36249e5e84

Contents?: true

Size: 611 Bytes

Versions: 4

Compression:

Stored size: 611 Bytes

Contents

#!/usr/bin/env ruby
#
# Copyright (c) 2008-2020 Minero Aoki, Kenshi Muto
#               1999-2007 Minero Aoki
#
# This program is free software.
# You can distribute or modify this program under the terms of
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of the GNU LGPL, see the file "COPYING".
#

$LOAD_PATH.unshift(File.realpath('../lib', __dir__))

require 'review/tocprinter'

begin
  Signal.trap(:INT) { exit 1 }
  if RUBY_PLATFORM !~ /mswin(?!ce)|mingw|cygwin|bccwin/
    Signal.trap(:PIPE, 'IGNORE')
  end

  ReVIEW::TOCPrinter.execute(*ARGV)
rescue Errno::EPIPE
  exit 0
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
review-5.3.0 bin/review-index
review-5.2.0 bin/review-index
review-5.1.1 bin/review-index
review-5.1.0 bin/review-index