On 6 Jan 2000, Pete Norton wrote:
> The newline character comes from the $whereami which is defined in
> 'majordomo.cf' as
>
> $whereami = '/bin/dnsdomainname'
You probably mean
$whereami = `/bin/dnsdomainname`;
My guess is that /bin/dnsdomainname will return something that ends with a
newline, because that is how you want it on the command line. Then you
should update that to
$whereami = `/bin/dnsdomainname`;
chomp $whereami;
The newline could add problems in other cases.
Mats
-----------------------------------------------------------------
Mats Dufberg mats.dufberg@abc.se
Alvdalsvagen 133 +46 8 38 48 59
SE-165 75 Hasselby, Sweden
|
|