Closed komeda-shinji closed 9 years ago
Oh! Sorry, this style works.
$ sh -c 'set start; case "$1" in (*) echo $@;; esac'
start
@komeda-shinji, I'm pretty sure that the ()
selector is posixly correct, which satisfies the coding standard, and is compatible with dash
, which satisfies system policy.
Past that, I prefer this form because the vi
family of editors is better behaved with matching parenthesis. (eg: Syntax highlighting is more likely to work properly.)
It should be like this.