Ruby

This is the location of Ruby stuff… Either someone asks me to solve a scripting task or I take the time to rewrite one of my sed/awk/bash tasks for fun.

#Ruby one-liners.
 Download them here.

# Print days between two dates. eg. 2005-12-15 thru 2005-11-15.
 'Date.parse("20051215").downto(Date.parse("20051115")) {|d| puts d}'