diff options
Diffstat (limited to 'sample/io.rb')
-rw-r--r-- | sample/io.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/io.rb b/sample/io.rb index c12e4f4498..0b38d2112d 100644 --- a/sample/io.rb +++ b/sample/io.rb @@ -15,8 +15,8 @@ for i in "abc\n\ndef\nghi\n" print("tt: ", i) end -printf("%s:(%d)%s\n", $0, $ARGV.length, $ARGV[0]) -passwd = open($ARGV[0], "r") +printf("%s:(%d)%s\n", $0, ARGV.length, ARGV[0]) +passwd = open(ARGV[0], "r") #printf("%s", passwd.find{i|i =~ /\*/}) n = 1 |