Sha256: 0926749c650f554703721a2410ce0870f5f4f9de04a3ca045472fe5ab36345b7

Contents?: true

Size: 487 Bytes

Versions: 4

Compression:

Stored size: 487 Bytes

Contents

#! /usr/bin/env ruby
# coding: utf-8

# convert to text with each line / each sentence.

require "pp"
require "optparse"
require "rubygems"
require "tefil"


# option analysis
options = {}
op = OptionParser.new
#op.banner = [
#  "Usage: #{File.basename("#{__FILE__}")} [options] [files]",
#].join("\n")
op.on("-o"     , "--overwrite"     , "Overwrite."){    options[:overwrite] = true}
op.parse!(ARGV)

options[:overwrite] ||= false

is = Tefil::EachSentence.new options
is.filter(ARGV)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tefil-0.1.4 bin/eachsentence
tefil-0.1.3 bin/eachsentence
tefil-0.1.2 bin/eachsentence
tefil-0.1.1 bin/eachsentence