From e1e129263bcf5a1ab54def78084240653ef070b9 Mon Sep 17 00:00:00 2001 From: Carl N Baldwin Date: Thu, 20 Oct 2005 09:43:14 -0600 Subject: [PATCH] Add ruby script to list 'interesting' dvds by date. Also changed order of user and group in format. --- scripts/list-dates.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/list-dates.rb 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 -- 2.34.1