7 lines
145 B
Awk
7 lines
145 B
Awk
#!/bin/awk
|
|
BEGIN { print "unsigned char bootscript[] = { \n"}
|
|
{ for (i = 2; i <= NF ; i++ ) printf "0x"$i","
|
|
print ""
|
|
}
|
|
END { print "\n};\n" }
|