Sha256: e8f24b21e26eba350deb32f946af0a1039314ed453ae6f45ba6f5909778f8727

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

#!/usr/bin/env ruby

require 'rbbt/util/simpleopt'

options = SOPT.parse "-h--help:-to--tsv-options*:-p--persistence"

command = ARGV.shift
file    = ARGV.shift

case command
when 'cat'
  puts TSV.new(file, options["tsv-options"].merge(options["persistence"]))
when '

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rbbt-util-2.0.1 bin/tsv.rb
rbbt-util-1.2.1 bin/tsv.rb
rbbt-util-1.1.0 bin/tsv.rb
rbbt-util-1.0.1 bin/tsv.rb