mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-01 18:45:10 +08:00
fix: awk script now correctly takes the substring on both mingw and ubuntu
This commit is contained in:
parent
9ca75c1cfd
commit
02983ae6ee
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ BEGIN {
|
|||
print "local _keys = {"
|
||||
}
|
||||
|
||||
$1 ~ /^[A-Fa-f0-9]+/ { sub(/\r/, ""); print "'"substr($1,0,12)"'," }
|
||||
$1 ~ /^[A-Fa-f0-9]+/ { sub(/\r/, ""); print " '"substr($1,1,12)"'," }
|
||||
|
||||
END {
|
||||
print "}"
|
||||
|
|
Loading…
Reference in a new issue