Sha256: 4d96344ce8ca06f4445dbf35ab24a6740dc670d3b5dee637cf6e8ebeec209efe

Contents?: true

Size: 223 Bytes

Versions: 26

Compression:

Stored size: 223 Bytes

Contents

#!/usr/bin/env ruby

join_string = ARGV[0]

chunks = []

STDIN.each_line do |line|
  line  = line.chomp
  array = line.split(/\s+$/)
  array.each do |chunk|
    chunks << chunk
  end
end

puts chunks.join("#{join_string}")

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ix-cli-0.0.27 bin/ix-join
ix-cli-0.0.26 bin/ix-join
ix-cli-0.0.25 bin/ix-join
ix-cli-0.0.24 bin/ix-join
ix-cli-0.0.23 bin/ix-join
ix-cli-0.0.22 bin/ix-join
ix-cli-0.0.21 bin/ix-join
ix-cli-0.0.20 bin/ix-join
ix-cli-0.0.19 bin/ix-join
ix-cli-0.0.18 bin/ix-join
ix-cli-0.0.17 bin/ix-join
ix-cli-0.0.16 bin/ix-join
ix-cli-0.0.15 bin/ix-join
ix-cli-0.0.14 bin/ix-join
ix-cli-0.0.13 bin/ix-join
ix-cli-0.0.12 bin/ix-join
ix-cli-0.0.11 bin/ix-join
ix-cli-0.0.10 bin/ix-join
ix-cli-0.0.9 bin/ix-join
ix-cli-0.0.7 bin/ix-join