On 2006-08-09T11:16:33, David Lee <[EMAIL PROTECTED]> wrote:

> "ha_clustermsg()" looks worringly non-intuitive and opaque even to a
> relatively experienced Bourne-shell tinkerer.  Even if it is technically
> correct, it isn't the world's best example of programming clarity!

Hm, it looks obvious to me, but the $* really is confusing.

> Is Matt encountering yet another Bourne-vs.-Bash issue lurking hidden in
> that dark undergrowth?
> 
> Does it need a re-think?

Many places in the code can do with being cleaned up - we've got quite a
bit of janitor work... I'm always glad if someone wishes to help with
this!

> or:
>    # copy stdin (text) to FIFO, with surrounding ">>>" and "<<<" marker lines.
>    # no args.; no result
>    ha_clustermsg() {
>       (echo ">>>"; cat -; echo "<<<") >> $HA_FIFO
>    }

I like this approach best.

Sincerely,
    Lars Marowsky-Brée

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business     -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to