mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-12 04:35:28 -07:00
fix: awk script now correctly takes the substring on both mingw and ubuntu
This commit is contained in:
parent
9ca75c1cfd
commit
02983ae6ee
@ -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…
x
Reference in New Issue
Block a user