@ -45,6 +45,12 @@ for number in $(cat "$1" | sed s/[^0-9]//g); do
done
done
printf"part 1: %d\n"$sum
printf"part 1: %d\n"$sum
sum=0
for number in $(cat "$1"| sed s/one/o1e/g | sed s/two/t2o/g | sed s/three/t3hee/g | sed s/four/f4ur/g | sed s/five/f5ve/g | sed s/six/s6x/g | sed s/seven/s7ven/g | sed s/eight/e8ght/g | sed s/nine/n9ne/g | sed s/[^0-9]//g);do