Sha256: 31c0a4cbe40ea1c66b7d3c058c4a53cff995cd7d63a4c90fb1ee68a2039366b4

Contents?: true

Size: 274 Bytes

Versions: 8

Compression:

Stored size: 274 Bytes

Contents

#!/usr/local/bin/ruby

# reads from standard input and writes the number
# of lines to standard output
# used to test cmdpipe Rios

$:.unshift File.expand_path(File.dirname(__FILE__)+'/../../lib/')
require 'rio'

search_re = ARGV.shift
print rio(?-).lines[/#{search_re}/]


Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
rio-0.6.0 test/bin/find_lines.rb
wishdev-rio-0.4.3.1 test/bin/find_lines.rb
rio-0.5.1 test/bin/find_lines.rb
rio-0.3.8 test/bin/find_lines.rb
rio-0.3.9 test/bin/find_lines.rb
rio-0.4.2 test/bin/find_lines.rb
rio-0.4.0 test/bin/find_lines.rb
rio-0.4.1 test/bin/find_lines.rb