On 3/3/25 14:20, Tim Parenti via tz wrote:
Not sure if you count grep as a processor

Oh, I do:

  cd /usr/share/zoneinfo
  for file in $(awk '/^[^#]/{print $3}' zone1970.tab); do
    echo $file $(tail -n1 $file)
  done | grep ' [^,]*[0-9],'

On Fedora 41 this outputs:

  Antarctica/Troll <+00>0<+02>-2,M3.5.0/1,M10.5.0/3
  Australia/Lord_Howe <+1030>-10:30<+11>-11,M10.1.0,M4.1.0
  Europe/Dublin IST-1GMT0,M10.5.0,M3.5.0/1

One can redo it without awk or grep but what would be the fun of that?

Reply via email to