diff options
Diffstat (limited to 'sample/fullpath.rb')
| -rw-r--r-- | sample/fullpath.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/fullpath.rb b/sample/fullpath.rb index 252e7dc217..112ca58081 100644 --- a/sample/fullpath.rb +++ b/sample/fullpath.rb @@ -3,7 +3,7 @@ if ARGV[0] =~ /-p/ ARGV.shift - path = ARGV.shift + path = ARGV.shift end if path == nil @@ -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") |
