From: WATANABE Hirofumi Date: 2002-04-27T00:35:00+09:00 Subject: Re: File.join removing redundant /'s Hi, "Stathy G. Touloumis" writes: : :File::Spec->canonpath( '/foo//bar//baz' ); :/foo/bar/baz : :Is there an equivalent in ruby? % ruby -e 'p File::expand_path("/foo//bar//baz")' "/foo/bar/baz" -- eban