summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-19 20:39:26 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-19 20:39:26 +0000
commit354af9da36eaeec70d4fdaddab78a8ecb11101a0 (patch)
tree25ffb62d62fe849e750d5233cca4daa405b4f519 /sample
parent913bc18761b5019492c30c0df9af7c5860a23bc3 (diff)
Fix a bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/fullpath.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/fullpath.rb b/sample/fullpath.rb
index 252e7dc217..8472e5d8f4 100644
--- a/sample/fullpath.rb
+++ b/sample/fullpath.rb
@@ -15,7 +15,7 @@ end
while line = gets()
case line
when /:$/
- path = $_.chop.chop + "/"
+ path = line.chop.chop + "/"
when /^total/, /^d/
when /^(.*\d )(.+)$/
print($1, path, $2, "\n")