# solve day 1 with awk and sort # part 1 awk 'BEGIN{RS="\n\n";m=0} {t=0; for(i=1;i<=NF;i++)t+=$i; if(m