[GENLINK] Code Cleanup
This commit is contained in:
parent
ff3b177c47
commit
30d4540d9e
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
BEGIN {
|
BEGIN {
|
||||||
PAT = tolower(PAT);
|
PAT = tolower(PAT);
|
||||||
ORS = " ";
|
|
||||||
}
|
}
|
||||||
!/^#/{
|
!/^#/{
|
||||||
#remove cr on windows
|
#remove cr on windows
|
||||||
@ -22,10 +21,11 @@ BEGIN {
|
|||||||
if (PAT ~ tmp) {
|
if (PAT ~ tmp) {
|
||||||
if ($2 != "+")
|
if ($2 != "+")
|
||||||
PAT=$2;
|
PAT=$2;
|
||||||
$1="";
|
|
||||||
$2="";
|
|
||||||
for (i = 3; i <= NF; i = i + 1)
|
for (i = 3; i <= NF; i = i + 1)
|
||||||
printf "-D%s ",$i;
|
printf "-D%s ",$i;
|
||||||
if (PAT=="END") exit;
|
|
||||||
|
if (PAT=="END")
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user