]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/usb_cmd_h2lua.awk
8e003562a2c3393e6a98f802e39d318aaeb446b0
3 print "These are Proxmark command definitions."
4 print "This file is automatically generated from usb_cmd.h - DON'T EDIT MANUALLY."
6 print "local __commands = {"
9 #$1 ~ /#define/ && $2 ~ /^CMD_([[:alnum:]_])+/ { print $2, "=", $3, "," }
10 $
1 ~
/#define/ && $2 ~ /^CMD_[A-Za-z0-9_]+/ { sub(/\r/, ""); print $2, "=", $3 "," }
14 print "return __commands"