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