JDK-6496828 : Echo cannot handle backslash-escaped characters without option "-e"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-11-23
  • Updated: 2012-10-08
  • Resolved: 2007-01-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u4Fixed 7Fixed hs10Fixed
Description
Subject: 	[PATCH] Echo cannot handle backslash-escaped characters without option "-e"
Date: 	Wed, 22 Nov 2006 10:10:24 -0600
From: 	Neo Jia <###@###.###>
Reply-To: 	###@###.###
To: 	###@###.###

hi,

In the make/Makefile file, there is no "-e" following the $(ECHO). So 
those backslash-escaped characters will be printed out as it was when 
running "make help".

Index: Makefile
===================================================================
--- Makefile    (revision 101)
+++ Makefile    (working copy)
@@ -72,7 +72,7 @@
 # Make macros for install files or preparing targets
 CD=cd
 CP=cp
-ECHO=echo
+ECHO=echo -e
 GREP=grep
 MKDIR=mkdir
 MV=mv


Thanks,
Neo

Comments
EVALUATION Removed \t and \n characters in make/Makefile
07-12-2006