From: Carl N Baldwin Date: Thu, 20 Oct 2005 15:43:14 +0000 (-0600) Subject: Add ruby script to list 'interesting' dvds by date. Also changed order of user and... X-Git-Tag: release-0.4~94 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=commitdiff_plain;h=e1e129263bcf5a1ab54def78084240653ef070b9;p=backups%2F.git Add ruby script to list 'interesting' dvds by date. Also changed order of user and group in format. --- diff --git a/scripts/list-dates.rb b/scripts/list-dates.rb new file mode 100755 index 0000000..b8a5c50 --- /dev/null +++ b/scripts/list-dates.rb @@ -0,0 +1,14 @@ +#!/usr/bin/ruby + +require 'set' + +dates = Set.new + +ARGF.each( "\0" ) do |line| + fields = line.split ' ', 8 + dates.add fields[6] +end + +dates.each do |date| + puts date +end