sonatype/plexus-utils — pull request #6 by Mahoney (2012-08-02 23:39:41+00:00)
Title: Allowed Shell to take an escape pattern (in Java MessageFormat) to allow correct escaping of quotes in arguments

Bourne shell requires a ' in an argument to be escaped as '\'' (see http://wiki.bash-hackers.org/syntax/quoting#strong_quoting). This patch enhances Shell & StringUtils to allow specifying a pattern to use to escape a character rather than simply a single character to precede the character that needs to be escaped.