Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6712425

MKS bug in tr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 6u10
    • infrastructure
    • None
    • x86
    • windows_xp

      At least some versions of the tr utility on MKS have a problems. This was discovered and avoided for a "must fix" bug (6710940). I'm not sure that we (Sun) or even MKS can fix this, so this is just a placeholder bug to make sure we characterize the issue so that we don't hit it again (which as the last time indicates, will occur at the worse possible time).

      The followinf lines characterize the failure. Pretty wierd, huh?

      The line in ishield/sdk/Makefile:

      < dirbase=`$(ECHO) $$dir | $(TR) -d "/" | $(TR) -d "." | $(TR) -d "-"` ; \
      ---
      > dirbase=`$(ECHO) $$dir | $(TR) -d "/.-"` ; \


      For some reason, "x"'s get pruned out now. So when:

      "jre/lib/ext"

      get's passed through:

      $(TR) -d "/.-"

      it comes out as "jrelibet", whereas it used to (and should) come out as "jrelibext".

            ohair Kelly Ohair (Inactive)
            jkowalsksunw Joseph Kowalski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: