scripts: replace gawk, head, bc with shell, update...
Replacing overhead of using some (external) programs
instead of good old `sh'.
- t4=`echo $t3 | gawk '{ print $1 }'`...
- t5=`echo $t1 | gawk '{ print $1 }'`
- t6=`echo $t4 - $t5 | tr a-f A-F`
- t7=`( echo ibase=16 ; echo $t6 ) | bc`
+ t4=`field 1 $t3`
+ t5=`field 1 $t1`
+ t6=`printf "%lu" $((0x$t4 - 0x$t5))`
From where do we obtain this new "field" command ?