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 <ch...@calldei.com> |When a program is being tested, it is too late to make design changes. `---------------------------------------------------------------------- To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message