Sha256: 3f88fd74c677578d95c5c2acf7e7e18f5f3fb5db74fa5ae9e6b1f6168b21d9f7

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

#!/usr/bin/env ruby

def absolute_path(path)
  path =~ /^\// ? path : File.join(Dir.pwd, path)
end

file   = absolute_path(ARGV[0])
input  = absolute_path(ARGV[1])
output = absolute_path(ARGV[2])

`cat #{input} | mandy-map #{file} | sort | mandy-reduce #{file} > #{output}`

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trafficbroker-mandy-0.1.0 bin/mandy-local
trafficbroker-mandy-0.1.1 bin/mandy-local