Skip to content
  • Jeff King's avatar
    more tr portability test script fixes · e85fe4d8
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    Dealing with NULs is not always safe with tr. On Solaris,
    incoming NULs are silently deleted by both the System V and
    UCB versions of tr. When converting to NULs, the System V
    version works fine, but the UCB version silently ignores the
    request to convert the character.
    
    This patch changes all instances of tr using NULs to use
    "perl -pe 'y///'" instead.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    e85fe4d8