a warning of "awk" for generatepot jobs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack i18n |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Currently, it shows a warning message for pot generation jobs.
For example, result of "$ tox -e generatepot" for openstack/i18n repository is like:
+ msgcat --use-first --sort-by-file doc/build/
+ awk '$0 !~ /^\# [a-z0-9]+$/'
awk: cmd. line:1: warning: regexp escape sequence `\#' is not a known regexp operator
More information: https:/
Changed in openstack-i18n: | |
status: | New → Confirmed |
Ubuntu 20.04 or later hits this. Ubuntu 18.04 used in upstream- translation- update job does not hit this.
The detail is quoted from https:/ /review. opendev. org/c/openstack /i18n/+ /894512
---
(g)awk in Ubuntu 20.04 or later (perhaps gawk >=5.0) has more strict
regexp check and the regexp passed to awk in generatepot.sh cannot
pass the regexp check. This means our script does not work on
Ubuntu 20.04 or later.
---