Always use IO.read vs IO.readlines.join

git-svn-id: file:///home/svn/framework3/trunk@4212 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2006-12-17 07:03:00 +00:00
parent 8a922d0641
commit ea23e52706
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ case cmd
$stderr.puts(OutError + "Invalid encoder specified.")
end
when "encode"
buf = input.readlines.join
buf = input.read
encoders.each { |enc|
next if not enc