Great Circle Associates Majordomo-Users
(January 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: RE: digests not going out - A fix
From: Mats Dufberg <Mats . Dufberg @ abc . se>
Date: Fri, 7 Jan 2000 01:41:55 +0100 (MET)
To: Pete Norton <pete . norton @ orenco . com>
Cc: "Bradfield, Chris" <chris @ onehouse . com>, majordomo-users <majordomo-users @ greatcircle . com>
In-reply-to: <200001062142.WAA14937@tor.abc.se>

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


Indexed By Date Previous: [no subject]
From: Unknown
Next: RE: digests not going out - A fix
From: Pete Norton <pete.norton@orenco.com>
Indexed By Thread Previous: RE: digests not going out - A fix
From: Pete Norton <pete.norton@orenco.com>
Next: RE: digests not going out - A fix
From: Pete Norton <pete.norton@orenco.com>

Google
 
Search Internet Search www.greatcircle.com