public static String substVars(String val, PropertyContainer pc1) throws ScanException {
        return substVars(val, pc1, null);
    }
@Test
    public void emptyDefault() throws ScanException {
        String r = OptionHelper.substVars("a${undefinedX:-}b", context);
        assertEquals("ab", r);
    }