https://bz.apache.org/bugzilla/show_bug.cgi?id=60562
--- Comment #25 from [email protected] --- Downloaded a solarix 10 ova vm file. Interesting results 1) seems like the `VAR=$( echo HI )` syntax does not work and throws an error 2) `VAR="$( echo HI )"` syntax actually does not execute the subshell at all and assigns the expression as a string to VAR 3) X=" HI " echo "\$X=$X." Y="`echo "$X"`" echo ".${Y}." shows that the shell does NOT trim the output from the subshell when assigning to Y. So the best idea may be to detect the lack of trimming subshell capture, and in that case skip the padding+stripping operations since they are unnecessary. Will see if I can confirm this and mock up the old ant torture test to see if it still works on linux and solaris 10. -- You are receiving this mail because: You are the assignee for the bug.
