escapeXSI

fun String.escapeXSI(keepExpansion: Boolean = false): String

Escapes this as if used by the Shell scripting language.

Parameters

keepExpansion

If true, keeps the * character to allow for shell expansion.