>>>>> "R" == Renaud HEBERT <renaud.hebert / alcatel.fr> writes: R> 1) it is still very fragile: 'dir//dir2' and 'dir/./dir2' will give R> wrong results when compared to 'dir/dir2' Use File::expand_path to remove these cases pigeon% ruby -e 'p File.expand_path "dir1/./dir2"' "/tmp/dir1/dir2" pigeon% ruby -e 'p File.expand_path "dir1//dir2"' "/tmp/dir1/dir2" pigeon% Guy Decoux