rdr.rb
# parse commandline arguments and put into an array
parse commandline arguments and put into an array
parse commandline arguments and put into an array
def parse_opt(s)
  if s.nil? or s == "help"
    return 0
  else
    r = s.partition("d")
    r2 = r[2].partition("+")
    r = r + r2
    r.delete_at(2)
    return r
  end
end
def parse_opt ( s ) if s . nil? or s == "help" return 0 else r = s . partition ( "d" ) r2 = r [ 2 ] . partition ( "+" ) r = r + r2 r . delete_at ( 2 ) return r end end
parse commandline arguments and put into an array
parse commandline arguments and put into an array
s
<not_specific>