jba@harald.ruc.dk (Jan B. Andersen) (10/05/89)
After spending a couple of hours trying to get a new Aviion workstation
connected to the net, I have discovered a bug in the tcpipparams script.
In the script a shell-function called generate_minimum_netmask uses awk
to calculate the netmask: (from my memory)
echo $1 | awk 'BEGIN {
if ( $1 < 127 ).....
On my machine, awk terminates with a cryptic error message, and the
script continues with a wrong result.
Why is the BEGIN necessary? It's not used in any of the other functions.
If I delete the BEGIN, everything works fine.
Is it time for comp.os.dgux?
--
/| / Postmaster@RUC.dk /^^^\ .----------------.
/ | / DG-passer@RUC.dk { o_o } | SIMULA does it |
/--|/ jba@meza.RUC.dk \ o / --> | with CLASS |
`--' ' rucjb@os1100.uni-c.dk --mm---mm-- `----------------'