mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-10 19:11:17 +01:00
44637: = doesn't need quoting in awk regexp.
Known to cause warnings in gawk 5.
This commit is contained in:
parent
5fd80faf98
commit
90fa6ee042
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2019-08-03 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
|
* 44637: Shlomi Fish: Src/makepro.awk: "=" doesn't need quoting
|
||||||
|
in awk regexp and can cause warnings.
|
||||||
|
|
||||||
2019-07-30 Peter Stephenson <p.stephenson@samsung.com>
|
2019-07-30 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
* Eric Cook: 24102: Completion/Unix/Command/_user_admin: subuids
|
* Eric Cook: 24102: Completion/Unix/Command/_user_admin: subuids
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ BEGIN {
|
||||||
# initialiser.
|
# initialiser.
|
||||||
dcltor = substr(line, 1, RLENGTH-1)
|
dcltor = substr(line, 1, RLENGTH-1)
|
||||||
line = substr(line, RLENGTH+1)
|
line = substr(line, RLENGTH+1)
|
||||||
sub(/\=.*$/, "", dcltor)
|
sub(/=.*$/, "", dcltor)
|
||||||
match(dcltor, /^([^_0-9A-Za-z]| const )*/)
|
match(dcltor, /^([^_0-9A-Za-z]| const )*/)
|
||||||
dcltor = substr(dcltor, 1, RLENGTH) "@+" substr(dcltor, RLENGTH+1)
|
dcltor = substr(dcltor, 1, RLENGTH) "@+" substr(dcltor, RLENGTH+1)
|
||||||
match(dcltor, /^.*@\+[_0-9A-Za-z]+/)
|
match(dcltor, /^.*@\+[_0-9A-Za-z]+/)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue