From: grzegorz@... (Grzegorz Chrupala) Date: 2003-06-18T03:06:12+09:00 Subject: Re: File.expand_path with files beginnig with ~ (tilde) on Windoze "Robert Klemme" wrote in message news:... > > Does this work on a Unix platform? It does: irb(main):004:0> File.expand_path("~grzegorz") => "/home/grzegorz" > > > I wonder whether this could/should be fixed. > > I guess, it would not be a fix but an additional feature. The "~" Well, I would simply like file names beginning with "~" to expand on Windoze as any other file, that is, have the containing directory prepended, instead of the string being returned as is. This current behaviour seems broken to me. > expansion on Unix systems is a shell feature and no Unix built in > functionality. Sorry, I was imprecise. Cheers, -- Grzegorz