das $8 ist der achte vom set
und für ein *richtiges* Un*x wirst du das abwandeln müssen.
vielleicht so:
set -- `nslookup $HOSTNAME`; FQHN="$6"
je nachdem wie dein nslookup is
____________________________________
lg, boo
~ GNU/Linux - there is no substitute! ~
|