https://bz.apache.org/bugzilla/show_bug.cgi?id=60562
--- Comment #29 from [email protected] --- Here is close as I could get. Main points 1) Had to touch the icky sed line to make it use `` instead of $(). That is the part that scares me the most, but I can convince myself the expression is correct and my limited testing of special chars looked ok. 2) solaris 10 will drop trailing newlines on arguments. They can avoid that by using a POSIX shell and setting env PROTECT_NL=true. https://github.com/apache/ant/pull/29 This is just an idea/example, I would love it if someone could come up with anything that worked 100% consistently across platforms or could feature-detect heirloom shell. -- You are receiving this mail because: You are the assignee for the bug.
