Re: [PATCH] Avoid using dc in git-count-objects
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 27, 2005, 18:00 UTC
- Message-ID
- <7vmzku3kmy.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0510270801560.4664@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> Oh - there's another similarity between $(..) and $((..)). They're both > POSIX 1003.2 standard features, so any "modern" shell should support them. > Although in practice I don't know if that means anything else than ksh > (where both syntaxes came from, actually).
OK, you prodded me enough to come to 21st century ;-).
I was hoping that doing .git/objects/ traversal and disk block accounting ourselves maybe in C or Perl would be enough for that particular program, but I would not object if the community concensus is we would run on only POSIX shells anymore.
I still resist saying that we run only on Bash, though. I suspect we already have some bashism on the periphery, but eradicating them has been lower priority for me.