mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-25 03:18:51 +09:00
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" }
|