From owner-freebsd-hackers Fri Aug 27 3:52:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 2735114DA9 for ; Fri, 27 Aug 1999 03:52:38 -0700 (PDT) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id MAA02639 for freebsd-hackers@FreeBSD.ORG; Fri, 27 Aug 1999 12:52:37 +0200 (CEST) (envelope-from olli) Date: Fri, 27 Aug 1999 12:52:37 +0200 (CEST) From: Oliver Fromme Message-Id: <199908271052.MAA02639@dorifer.heim3.tu-clausthal.de> To: freebsd-hackers@FreeBSD.ORG Subject: Re: Please review: rc file changes Organization: Administration Heim 3 Reply-To: freebsd-hackers@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug wrote in list.freebsd-hackers: > [...] > 2. value ) instead of value) for case statements > [...] > case $? in > - 0) > + 0 ) > ;; > - 2) > + 2 ) > exit 1 > ;; > - 4) > + 4 ) > reboot > echo "reboot failed... help!" > exit 1 > ;; > [...] Why?!? I like the existing "case" style _much_ better, it's more readable and emphasizes the structure. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message