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