Date: Fri, 27 Aug 1999 01:54:29 -0500 From: Chris Costello <chris@calldei.com> To: Doug <Doug@gorean.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Please review: rc file changes Message-ID: <19990827015429.C18715@holly.calldei.com> In-Reply-To: <37C63417.C1E399F@gorean.org> References: <37C63094.8350A91B@gorean.org> <19990827014434.A18715@holly.calldei.com> <37C63417.C1E399F@gorean.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 26, 1999, Doug wrote:
> > > 2. value ) instead of value) for case statements
> >
> > Why? What's wrong with `value)'?
>
> Nothing functionally, but I find case statements much easier to read with
> the extra whitespace.
Would that not cause problems?
[A-Z]* )
# ... matches "ZOUNDS " but not "ZOUNDS" ?
;;
I'd think it might have trouble with that whitespace.
And to quote sh(1)'s man page:
The syntax of the case command is
case word in
pattern) list ;;
esac
--
|Chris Costello <chris@calldei.com>
|When a program is being tested, it is too late to make design changes.
`----------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990827015429.C18715>
