commit 411fb0a233b8ecd8593e58702b355e6612a9deda from: Omar Polo date: Thu Jul 15 09:44:08 2021 UTC hard tabs commit - 6b49b122d63b33d93b267942e0467ada9b5befdd commit + 411fb0a233b8ecd8593e58702b355e6612a9deda blob - 553c8cc94524ebbd2ac416bed5006b44b8772cfb blob + e1e862e367dd4f8030d866085c23dc6afab38aa3 --- gencmd.awk +++ gencmd.awk @@ -1,5 +1,5 @@ BEGIN { - FS = "[(,)]"; + FS = "[(,)]"; print "#include " print "#include " @@ -7,11 +7,11 @@ BEGIN { } /^CMD/ { - s = $2; - sub("^cmd_", "", s); - gsub("_", "-", s); - printf("\t{ \"%s\", %s },\n", s, $2); - next; + s = $2; + sub("^cmd_", "", s); + gsub("_", "-", s); + printf("\t{ \"%s\", %s },\n", s, $2); + next; } /^DEFALIAS/ { @@ -22,7 +22,7 @@ BEGIN { } { - next; + next; } END {