From owner-freebsd-hackers Fri Aug 27 0: 4:25 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by hub.freebsd.org (Postfix) with ESMTP id E701C152B9 for ; Fri, 27 Aug 1999 00:04:01 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org (adsl-216-62-157-60.dsl.hstntx.swbell.net) by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.05.24.18.28.p7) with ESMTP id <0FH400D6433JNR@mta4.rcsntx.swbell.net> for freebsd-hackers@FreeBSD.ORG; Fri, 27 Aug 1999 01:52:31 -0500 (CDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id BAA18866; Fri, 27 Aug 1999 01:54:29 -0500 (CDT envelope-from chris) Date: Fri, 27 Aug 1999 01:54:29 -0500 From: Chris Costello Subject: Re: Please review: rc file changes In-reply-to: <37C63417.C1E399F@gorean.org> To: Doug Cc: freebsd-hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <19990827015429.C18715@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <37C63094.8350A91B@gorean.org> <19990827014434.A18715@holly.calldei.com> <37C63417.C1E399F@gorean.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 |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