From b763cbcdd4e600bc11219eb6ffb947a33aa9e879 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Fri, 1 Nov 2013 23:04:05 +1100 Subject: [PATCH] Multi-date script --- bin/dates | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 bin/dates diff --git a/bin/dates b/bin/dates new file mode 100755 index 0000000..dfc2601 --- /dev/null +++ b/bin/dates @@ -0,0 +1,17 @@ +#!/bin/bash + +list=" +UTC +Australia/Sydney +Australia/Perth +Europe/London +America/Chicago +America/Los_Angeles +" + +for tz in $list; do + printf "%-25s" "$tz" + TZ="$tz" date + echo +done + -- 2.39.2