On Fri, 20 Oct 2006, Gavin Kistner wrote: > If they're not directories, and they're not files, then what the heck > are they? > > C:\Documents and Settings\gavin.kistner>ruby -rfind -e > "Find.find('.'){|x| p(x) unless File.directory?(x) or File.file?(x) }" > > "./Local Settings/Temporary Internet > Files/Content.IE5/T7JZHP42/GGLD%3A2005-16%2CGGLD%3Aen%26q%3Ddsl%2Bcentra > l%2Boffice%2Blocations%2Bmap&cc=483&u_h=1200&u_w=1600&u_ah=1170&u_aw=160 > 0&u_cd=32&u_tz=-360&u_his=11&u_java=true" > "./Local Settings/Temporary Internet > Files/Content.IE5/S1MNKLUJ/eamxbox&dechannel=teamxbox&size=skyscraper&re > gspeed=-1&PageId=1160506887961&random=1160506887961&property=teamxbox&ar > ticletype=movie+popup&tile=1160506891458" > "./Local Settings/Temporary Internet > Files/Content.IE5/Q93CTSZU/teamxbox&dechannel=teamxbox&size=1x1®speed > =-1&name=ATAtracker&PageId=1160506887304&random=1160506887304&ct=js&prop > erty=teamxbox&articletype=movie%2Bpopup&" > "./Local Settings/Temporary Internet > Files/Content.IE5/PCO7XLCT/site=teamxbox&dechannel=teamxbox&size=text&re > gspeed=-1&PageId=1160506893711&random=1160506893711&property=teamxbox&ar > ticletype=movie+popup&tile=1160506893958" > "./Local Settings/Temporary Internet > Files/Content.IE5/0F17EUFT/CAZUHWT7.php%3Fgroup_id%3D50233%26package_id% > 3D43880%26release_id%3D413309&cc=100&u_h=1200&u_w=1600&u_ah=1170&u_aw=16 > 00&u_cd=32&u_tz=-360&u_his=2&u_java=true" > > > Are there similar items on non-Windows systems? (Items that would be > listed by Find.find or Dir.entries that would respond false to both > .directory? and .file? irb(main):010:0> File.file? '/dev/cdrom' => false irb(main):011:0> File.directory? '/dev/cdrom' => false irb(main):012:0> File.blockdev? '/dev/cdrom' => true -a -- my religion is very simple. my religion is kindness. -- the dalai lama