On Sun, 22 Jul 2018, Russell Senior wrote:

awk -F, '{ for (i=2 ; i<=25 ; i++) {
printf("%s,%02d:00,%.2f\n",$1,i-2,$i+296.93) } }'

  Thanks, Russell. I've not before seen printf used this way and it
certainly is an elegant solution.

  BTW, Kelvin has nothing to do with these data. The numbers are heights.

Regards,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to