Re: Shell script cleanups/style changes?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 2, 2007, 21:29 UTC
- Message-ID
- <7vodhptyk3.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vsl71tyyq.fsf@assigned-by-dhcp.cox.net>
You might find this thread amusing.
http://thread.gmane.org/gmane.comp.version-control.git/7116/focus=7136
Historically, I have even avoided accepting ${var#word}, ${var%word}, and arithmetic expansions.
I would still reject shell arrays.