part of monstermerge...

This commit is contained in:
iceman1001 committed 2017-07-27 20:48:49 +02:00
1 parent 8f262aa1bf
commit 6519ae6f88
373 files changed
+4275

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
BEGIN {
print "--[["
print "These are Proxmark command definitions."
print "This file is automatically generated from usb_cmd.h - DON'T EDIT MANUALLY."
print "--]]"
print "local __commands = {"
}
#$1 ~ /#define/ && $2 ~ /^CMD_([[:alnum:]_])+/ { print $2, "=", $3, "," }
$1 ~ /#define/ && $2 ~ /^CMD_[A-Za-z0-9_]+/ { sub(/\r/, ""); print $2, "=", $3 "," }
END {
print "}"
print "return __commands"
}