#!/usr/bin/gawk -f BEGIN{FS=","} /^-/{print $0} (NF>5){printf("\& %s \& \& \\boxplot\{%f\}\{%f\}\{%f\}\{%f\}\{%f\} \& \\\\ \n", $1,$2,$4-$2,$4,$6-$4,$6)}