Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
implement `string unescape` to complement `string escape` #3543
As 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
fish version installed (
OS/terminal used: Windows 10, Mintty
There have been times I've wanted this as well. Note that there's a nice little hack that you can use with
# Assuming same $var as before commandline -r -- $var set list_var (commandline -opc) commandline -r -- ""
Though really that just has some novelty value to it and shouldn't be actually used.