Sha256: 39ba5357ef9eae8fd8008a39e53c32d66d2bbf6dd932f47d4b19e65705b6526c
Contents?: true
Size: 159 Bytes
Versions: 27
Compression:
Stored size: 159 Bytes
Contents
pattern = Regexp.new(ARGV[0]) filename = ARGV[1] file = File.open(filename) file.each_line do |line| if pattern =~ line print line end end file.close
Version data entries
27 entries across 27 versions & 1 rubygems