Package: bsdmainutils
Version: 11.1.2+b1

Starting with:
Los_Angeles: Tue Jan 21 06:00 PM 2020
Chicago: Tue Jan 21 06:00 PM 2020
Taipei: Tue Jan 21 06:00 PM 2020

We pipe it through column -t:
Los_Angeles:  Tue  Jan  21  06:00  PM  2020
Chicago:      Tue  Jan  21  06:00  PM  2020
Taipei:       Tue  Jan  21  06:00  PM  2020

What we simply really want is:
Los_Angeles: Tue Jan 21 06:00 PM 2020
Chicago:     Tue Jan 21 06:00 PM 2020
Taipei:      Tue Jan 21 06:00 PM 2020

The only way to get it is via:
column -t | perl -pwle 's/\S\K  / /g;'
because for some reason column(1)'s minimal output separation is hardwired at
two spaces, with no variable to make it e.g., 1. P.S., no value of -c helps.

Reply via email to