diff --git a/pizza.sh b/pizza.sh index 3639800..44253c6 100755 --- a/pizza.sh +++ b/pizza.sh @@ -85,17 +85,6 @@ function arraytio { # im funny portmantaus are never bad MEASURE[$INDEX]=$(echo "scale = 2; ($RATIO*$SIZE)/1" | bc -l) # we have to divide by 1 to actually apply the scale echo ${INGREDIENT[$INDEX]}: ${MEASURE[$INDEX]}g # actually print the calculated number with label for each INDEX done - - # cleanup - unset INDEX - unset RATIO - unset SIZE - unset FSI - unset AREA - unset WIDTH - unset LENGTH - unset SQUAREPAN - unset DFSI } case $1 in # this parses the first argument (and actually calls our main functions), the units need to be removed before bc will accept it