ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwadamson <>
Subject [GitHub] ant pull request #25: fix problems with argument handling of trailing space ...
Date Tue, 18 Oct 2016 16:04:26 GMT
GitHub user jwadamson opened a pull request:

    fix problems with argument handling of trailing space and sed/echo quirks

    So this is where I have landed through trial and error on improving the argument handling
    Tested with:
     mac bsd_sed+bash
     ubuntu gnu_sed+dash
     ubuntu gnu_sed+ksh93
     ubuntu gnu_sed+zsh
    We should ask mailing list to test on default Solaris, AIX, and HPUX platforms.
    If they experience problems due to sed versions, they can test out awk as an esc_tool
alternative value. If neither works consistently we can add some bash/zsh/ksh93 detection
to use a bashism when available to avoid sed and awk when possible..
    Attached is a manual and test.xml which echos some passed in properties to demonstrate
correct handling of special characters and whitespace/newline scenarios.

You can merge this pull request into a Git repository by running:

    $ git pull fix-60150_1.9.x

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #25
commit b5443219ceabe6773eb9f3f47bca7d6c111a0dd2
Author: Jeffrey Adamson <>
Date:   2016-10-10T21:16:27Z

    fix problems with argument handling of trailing space and sed/echo quirks


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message