$echo $units 10 $data decade time count $read 0 10 6 1 10 8 2 10 5 3 10 8 4 10 8 5 10 9 6 10 6 7 10 4 8 10 6 9 5 2 $calc dt=decade*time $yvar count $fit time -%gm $dis e $fit time + dt -%gm $dis e $echo $return