Fix a bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2002-12-19 20:39:26 +00:00
parent 913bc18761
commit 354af9da36

View File

@ -15,7 +15,7 @@ end
while line = gets() while line = gets()
case line case line
when /:$/ when /:$/
path = $_.chop.chop + "/" path = line.chop.chop + "/"
when /^total/, /^d/ when /^total/, /^d/
when /^(.*\d )(.+)$/ when /^(.*\d )(.+)$/
print($1, path, $2, "\n") print($1, path, $2, "\n")