ref: 901dd9c361590f17f29ad5145845c8f070d1d2a9 dir: /rc/jvc2pal/
#!/bin/rc awk ' NR==3{ print "pal 256" } NR>3{ x = $1*65536 + $2*256 + $3 printf "0x%06x\n", x }' $*