]> code.delx.au - monosys/blob - bin/dates
Multi-date script
[monosys] / bin / dates
1 #!/bin/bash
2
3 list="
4 UTC
5 Australia/Sydney
6 Australia/Perth
7 Europe/London
8 America/Chicago
9 America/Los_Angeles
10 "
11
12 for tz in $list; do
13 printf "%-25s" "$tz"
14 TZ="$tz" date
15 echo
16 done
17