public static String replaceProperties(final String value) {
		return replaceProperties(value, System.getProperties());
	}
Replace properties of the form:
<code>${<i>&lt;[env.]name&gt;[</i>,<i>&lt;[env.]name2&gt;[</i>,<i>&lt;[env.]name3&gt;...]][</i>:<i>&lt;default&gt;]</i>}</code>

@param value - either a system property or environment variable reference
@return the value of the system property or environment variable referenced
        if it exists
src/main/java/dev/jbang/util/PropertiesValueResolver.java