summaryrefslogtreecommitdiffstats
path: root/board/cray/L1/x2c.awk
blob: 9235e6cb36dff05d42ddfc1e587eb7a80c0c9773 (plain)
1
2
3
4
5
6
#!/bin/awk
BEGIN { print "unsigned char bootscript[] = { \n"}
{ for (i = 2; i <= NF ; i++ ) printf "0x"$i","
  print ""
}
END { print "\n};\n" }
OpenPOWER on IntegriCloud