Sha256: cf04b5bdad8321f72fd435610fb7953006f08d64d998ed03355991dade104cca

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 Bytes

Contents

module Wukong
  module LocalCommand

    # ===========================================================================
    #
    # Local execution Options
    #

    def local_command input_path, output_path
      %Q{ cat #{input_path} | #{map_command} | sort | #{reduce_command} > '#{output_path}'}
    end

  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mrflip-wukong-0.1.0 lib/wukong/script/local_command.rb
wukong-1.4.2 lib/wukong/script/local_command.rb
wukong-1.4.1 lib/wukong/script/local_command.rb
wukong-1.4.0 lib/wukong/script/local_command.rb
wukong-0.1.4 lib/wukong/script/local_command.rb
wukong-0.1.1 lib/wukong/script/local_command.rb