X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Ftime-in-zones;fp=home%2Fbin%2Ftime-in-zones;h=6428f8d814ab435da2bebfaff0cb0987b8f6c383;hb=d1ea24987962658ef6442d5be47558dfa95beac5;hp=0000000000000000000000000000000000000000;hpb=cb7d1749a129ed21db1b532060e69b528b313747;p=khome.git diff --git a/home/bin/time-in-zones b/home/bin/time-in-zones new file mode 100755 index 0000000..6428f8d --- /dev/null +++ b/home/bin/time-in-zones @@ -0,0 +1,12 @@ +#! /bin/bash + +set -e + +ZONES='US/Eastern Europe/Rome Poland NZ' + +for tz in $ZONES +do + printf '%s ' "$tz" + TZ="$tz" date '+%a %b %d %H:%M:%S' +done \ +| column -t