implement string unescape
to complement string escape
#3543
Labels
Milestone
string unescape
to complement string escape
#3543
The command
string escape
allows bypassing limitations of the scripting language where needed, e.g. to store a list in a single string (allowing, but discouraging, nested list semantics) withAs of 2.4.0, however, there is no safe way to unescape such values. While
unpacks the quoted list into an actual list, but will happily evaluate any commands smuggled into a manipulated
$var
as well. Astring unescape
subcommand would fix this.sh -c 'env HOME=$(mktemp -d) fish'
)?fish version installed (
fish --version
): 2.4.0-111-g7356987OS/terminal used: Windows 10, Mintty
The text was updated successfully, but these errors were encountered: