Dec. 19, 2023
7:25 a.m.
* tzselect.ksh (countries): Use /^/, not //, as a regular expression that matches any line. POSIX does not allow empty REs, and Solaris 10 nawk rejects them. --- tzselect.ksh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tzselect.ksh b/tzselect.ksh index 3efb39fd..27bddfe0 100644 --- a/tzselect.ksh +++ b/tzselect.ksh @@ -530,7 +530,7 @@ while countries=` say "$zone_table" | $AWK \ - -v continent_re='' \ + -v continent_re='^' \ -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \ "$output_country_list" | sort -f -- 2.40.1