Subject: Re: "eval" in rc.d/network
To: firstname.lastname@example.org, Robert Elz <kre@munnari.OZ.AU>
From: Henry B. Hotz <email@example.com>
Date: 09/14/2000 10:29:24
At 1:29 AM +0900 9/15/00, firstname.lastname@example.org 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.
email@example.com, or firstname.lastname@example.org