Sha256: 22e770c4eebf03f6e119ce2686a9669e4c6c18657a7ad6a4a504acea176f6efe

Contents?: true

Size: 491 Bytes

Versions: 5

Compression:

Stored size: 491 Bytes

Contents

#! /usr/bin/env ruby
# coding: utf-8
#
# USAGE: lineescapezsh [options] files ...

require "pp"
require "optparse"
require "rubygems"
#gem "tefil"
require "tefil.rb"

## 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

tf = Tefil::ZshEscaper.new(options)
tf.filter(ARGV)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tefil-0.1.5 bin/zshescape
tefil-0.1.4 bin/zshescape
tefil-0.1.3 bin/zshescape
tefil-0.1.2 bin/zshescape
tefil-0.1.1 bin/zshescape