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?
“./Local Settings/Temporary Internet
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?
If they’re not directories, and they’re not files, then what the heck
are they?
symbolic links?
Named Pipes
Char Devices
Block Devices
Sockets (Unix, TCP)
Soft Links
Virtual Devices (is this the proper name? I mean Linux’s /proc, probably
just char dev with a special driver)
I cannot think of more off the top of my head but there are probably.
Depends on the OS of course (I could not see the original post via news,
Gateway issues again?)
robert
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.