* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git] / sample / drb / dhasenc.rb
blob8114e9228ddf73a9f507e92106c6d7e8e555214b
1 =begin
2  distributed Ruby --- dRuby Sample Client -- chasen client
3         Copyright (c) 1999-2001 Masatoshi SEKI 
4 =end
6 require 'drb/drb'
8 there = ARGV.shift || raise("usage: #{$0} <server_uri>")
9 DRb.start_service
10 dhasen = DRbObject.new(nil, there)
12 print dhasen.sparse("ËÜÆü¤Ï¡¢À²Å·¤Ê¤ê¡£", "-F", '(%BB %m %M)\n', "-j")
13 print dhasen.sparse("ËÜÆü¤Ï¡¢À²Å·¤Ê¤ê¡£", "-F", '(%m %M)\n')