Code

t0021: tr portability fix for Solaris
authorJeff King <peff@peff.net>
Tue, 11 Mar 2008 17:40:45 +0000 (13:40 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Mar 2008 04:14:59 +0000 (21:14 -0700)
commit7339eb082343df556c27fb0df5dd36a21714284e
tree3c2804931863a46c52052f0ac4ce9f4904160d01
parentfc99469a2b786676ffe48d5966d71cea3613b716
t0021: tr portability fix for Solaris

Solaris' /usr/bin/tr doesn't seem to like multiple character
ranges in brackets (it simply prints "Bad string").

Instead, let's just enumerate the transformation we want.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh