Re: [tz] 2018c minor issue
On 01/23/2018 02:39 PM, Pascal Werz wrote:
I tried to build the 2018c release of tz code and data and found that file zishrink.awk line 40: gsub(/[\f\r\t\v ]+/, " ", line) erroneously changed all 'v' characters to spaces as '\v' was not recognized as an escape sequence (hence handled as 'v') on my OS. Changing the line to gsub(/[\f\r\t\013 ]+/, " ", line) or removing '\v' from the regexp allowed the build to be possible again.
Thanks for the bug report. I installed the attached, which should appear in the next release. POSIX requires awk to support \v but if mawk can stray from POSIX I suppose macOS awk can too.
On 2018-01-23 16:04, Paul Eggert wrote:
POSIX requires awk to support \v but if mawk can stray from POSIX I suppose macOS awk can too. Not surprising given it's BSDish origins, OS X awk is based on BWK OTA (i.e. nawk) according to: https://developer.apple.com/library/content/documentation/OpenSource/Concept...
-- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
participants (2)
-
Brian Inglis -
Paul Eggert