Fixed awk
This commit is contained in:
parent
961fe6e861
commit
4628229398
@ -22,7 +22,7 @@ BEGIN {
|
|||||||
}
|
}
|
||||||
// {
|
// {
|
||||||
if (split ($1, a, "#") == 2) {
|
if (split ($1, a, "#") == 2) {
|
||||||
gsub (/[A-Z]/, "_&", a[1]);
|
gsub (/[[:upper:]]/, "_&", a[1]);
|
||||||
gsub (/[.]/, "_", a[1]);
|
gsub (/[.]/, "_", a[1]);
|
||||||
if (a[2] in h) {
|
if (a[2] in h) {
|
||||||
print "ERROR: Duplicate magic " a[2] " for define " a[1] " and " h[a[2]] >"/dev/stderr/"
|
print "ERROR: Duplicate magic " a[2] " for define " a[1] " and " h[a[2]] >"/dev/stderr/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user