bin/s3cat in s3grep-0.1.4 vs bin/s3cat in s3grep-0.1.5
- old
+ new
@@ -5,6 +5,8 @@
require 'aws-sdk-s3'
s3_file = ARGV[0]
aws_s3_client = Aws::S3::Client.new
search = S3Grep::Search.new(s3_file, aws_s3_client, nil)
-print search.to_io.read
+search.to_io.each do |line|
+ print line
+end