Sha256: e7c36c221889d11fbecea6037eea27d35d04b221f0355e48250d112c7b85e929

Contents?: true

Size: 166 Bytes

Versions: 26

Compression:

Stored size: 166 Bytes

Contents

#!/usr/bin/env ruby

STDIN.each_line do |line|
  filename  = File.basename(line.chomp)
  extension = File.extname(line.chomp)
  puts filename.gsub(extension, '')
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ix-cli-0.0.6 bin/ix-filename
ix-cli-0.0.5 bin/ix-filename
ix-cli-0.0.4 bin/ix-filename
ix-cli-0.0.3 bin/ix-filename
ix-cli-0.0.2 bin/ix-filename
ix-cli-0.0.1 bin/ix-filename