public static String escapeInDoubleQuotes(final String input) {
        if (null == input) {
            return "";
        }

        return ESCAPE_DQUOTE.translate(input);
    }
Escape a plain text to be safely put between double quotes of a posix/bash shell.

Example:
  abc ---> abc
  ab$c ---> ab\$c
  ab"c ---> ab\"c
  ab\c ---> ab\\c

ref: https://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html
core/src/main/java/net/qihoo/hbox/util/ShellEscapeUtils.java