From: Jeff Okamoto Date: Mon, 3 Aug 1998 11:04:30 +0000 (-0700) Subject: let some 'tr' be '$tr' for occult reasons X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3eaeeeae9d96dd91de8e0f0dfa4473b80e4ef490;p=p5sagit%2Fp5-mst-13.2.git let some 'tr' be '$tr' for occult reasons Message-Id: <199808031804.LAA25595@xfiles.intercon.hp.com> Subject: PATCH: Configure uses tr, not $tr p4raw-id: //depot/maint-5.005/perl@1733 --- diff --git a/Configure b/Configure index 3977b87..a436259 100755 --- a/Configure +++ b/Configure @@ -1823,14 +1823,14 @@ ABYZ) *) # There is a discontinuity in EBCDIC between 'I' and 'J' # (0xc9 and 0xd1), therefore that is a nice testing point. if test "X$up" = X -o "X$low" = X; then - case "`echo IJ | tr '[I-J]' '[i-j]' 2>/dev/null`" in + case "`echo IJ | $tr '[I-J]' '[i-j]' 2>/dev/null`" in ij) up='[A-Z]' low='[a-z]' ;; esac fi if test "X$up" = X -o "X$low" = X; then - case "`echo IJ | tr I-J i-j 2>/dev/null`" in + case "`echo IJ | $tr I-J i-j 2>/dev/null`" in ij) up='A-Z' low='a-z' ;; @@ -1858,7 +1858,7 @@ ABYZ) esac fi esac -case "`echo IJ | tr \"$up\" \"$low\" 2>/dev/null`" in +case "`echo IJ | $tr \"$up\" \"$low\" 2>/dev/null`" in ij) echo "Using $up and $low to convert case." >&4 ;; @@ -1887,7 +1887,7 @@ myuname=`( ($uname -a) 2>/dev/null || hostname) 2>&1` # tr '[A-Z]' '[a-z]' would not work in EBCDIC # because the A-Z/a-z are not consecutive. myuname=`echo $myuname | $sed -e 's/^[^=]*=//' -e 's/\///g' | \ - ./tr '[A-Z]' '[a-z]' | tr $trnl ' '` + ./tr '[A-Z]' '[a-z]' | $tr $trnl ' '` newmyuname="$myuname" dflt=n case "$knowitall" in