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

ubuntu 6.10 does not recongnize echo -e

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 7
    • 7
    • infrastructure
    • x86
    • linux

      Ubuntu 6.10 (beta)'s new built-in echo command behaves different.

      ww155710@maximum $ cat Makefile
      ECHO=echo -e
      all:
              @$(ECHO) "Hi"
      ww155710@maximum $ gnumake
      -e Hi

      Here "-e" is shown in the output. This makes the j2se workspace build fail.

      The reason is that Ubuntu 6.10's default shell /bin/sh is now dash, which does not recognize "-e" at all.
      (https://wiki.ubuntu.com/DashAsBinSh)

            ohair Kelly Ohair (Inactive)
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: