> > [...] > > 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. And it is more conformant to 'style(9)', which says that the case statements line up with the switch statement. (Although that's for C code, in this case I believe the sh code can be compliant indirectly...) Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: Please review: rc file ch... Doug
- Re: Please review: rc file ch... jack
- Re: Please review: rc file ch... Andrzej Bialecki
- Re: Please review: rc file ch... Aled Morris
- Re: Please review: rc file ch... Neil Blakey-Milner
- Re: Please review: rc file changes David Scheidt
- Re: Please review: rc file changes Doug
- Re: Please review: rc file changes Oliver Fromme
- Re: Please review: rc file changes Chris Costello
- Re: Please review: rc file changes Doug
- Re: Please review: rc file changes Nate Williams
- Re: Please review: rc file changes Sheldon Hearn
- Re: Please review: rc file changes Leif Neland
- Re: Please review: rc file changes Sheldon Hearn
- Re: Please review: rc file changes Oliver Fromme
- Re: Please review: rc file changes Oliver Fromme
- Re: Please review: rc file changes Oliver Fromme
- RE: Please review: rc file changes Wood, Richard