Expanding tildes in filenames


(Berger, Daniel) #1

Doh! I should have known. Thanks Guy.

Dan

···

IO.foreach("~/djberge/.vimrc"){ |line|

IO.foreach(File::expand_path("~/djberge/.vimrc")) { |line|

puts line
}

Guy Decoux