Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Ruby version' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Ruby version
Authored by: regeya on Aug 30, '06 12:07:33PM
With no 'ls' at all:

ruby -e 'Dir.foreach(".") {|f| x=File.stat(f) ; puts "#{f}, #{x.ctime}, #{x.size}"'} It could probably be shorter/prettier, and the output isn't exactly like the original, but it'll do. :-D

[ Reply to This | # ]