Subject: Re: "eval" in rc.d/network
To: email@example.com, Robert Elz <kre@munnari.OZ.AU>
From: Henry B. Hotz <firstname.lastname@example.org>
Date: 09/14/2000 10:29:24
At 1:29 AM +0900 9/15/00, email@example.com wrote:
> > while read args; do
> > case "$args" in
> > '') ;;
> > '#'*) ;;
> > *) ifconfig $int $args ;;
> > esac; done </etc/ifconfig.$int
> >would work more clearly ("read" already strips leading whitespace).
> >Trailing comments on a line containing ifconfig args have never been
> >handled, so there's no need to start now.
> which one (eval or case) do people like better? i'll test "case"
> variant locally.
I think the 'case' case is clearer. The 'eval' case seems confusing
to me. That's what started this discussion after all.
Just my $0.02. (How many yen?)
Signature held pending an ISO 9000 compliant
signature design and approval process.
firstname.lastname@example.org, or email@example.com