fork(1) download
  1. source = "/foo/bar"
  2. puts source.sub( /[^\/]*\Z/, "fubar" )
Success #stdin #stdout 0.05s 9664KB
stdin
Standard input is empty
stdout
/foo/fubar