Sha256: e6c008b83d97699f8595be0b054595df47a93177dd40186132f184afc2b683d4

Contents?: true

Size: 135 Bytes

Versions: 26

Compression:

Stored size: 135 Bytes

Contents

#!/usr/bin/env ruby

regex = /^\s+$/

STDIN.each_line do |line|
  if line =~ regex
    # skip
  else
    $stdout.write line
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ix-cli-0.0.6 bin/ix-remove-empty-lines
ix-cli-0.0.5 bin/ix-remove-empty-lines
ix-cli-0.0.4 bin/ix-remove-empty-lines
ix-cli-0.0.3 bin/ix-remove-empty-lines
ix-cli-0.0.2 bin/ix-remove-empty-lines
ix-cli-0.0.1 bin/ix-remove-empty-lines