On Thursday 25 February 2010 12:44:17 Lars Marowsky-Bree wrote:
> On 2010-02-25T09:18:51, Florian Haas <florian.h...@linbit.com> wrote:
> > > 1. the whitespaces after the HOSTNAME should remain since this is
> > > how are the unames exported to the RA
> >
> > Seriously? Then it's not your business to fix that, those environment
> > variables must be set correctly. Andrew, can you confirm?
> 
> The environment variables _are_ set correctly. Since more than one node
> could be promoted/demoted/started/stopped, they're effectively
> white-space separated lists, so the trailing whitespace shouldn't
> actually hurt.

Lars, sorry but it seams my shell scripting skills are not good enough to 
solve this one... 

How would I match two hostnames:

host_a='shrek'
host_b='shrek '

I don't know how to do that without RE in shell. I'll gladly change my stupid 
solution.

-- 
Best regards,
Marian Marinov

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to