mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-24 17:41:16 -03:00
Initial removal of '%' syntax for process/job expansion
This commit is contained in:
@@ -1002,7 +1002,6 @@ static void escape_string_script(const wchar_t *orig_in, size_t in_len, wcstring
|
||||
case L'|':
|
||||
case L';':
|
||||
case L'"':
|
||||
case L'%':
|
||||
case L'~': {
|
||||
if (!no_tilde || c != L'~') {
|
||||
need_escape = 1;
|
||||
@@ -1316,12 +1315,6 @@ static bool unescape_string_internal(const wchar_t *const input, const size_t in
|
||||
}
|
||||
break;
|
||||
}
|
||||
case L'%': {
|
||||
if (unescape_special && (input_position == 0)) {
|
||||
to_append_or_none = PROCESS_EXPAND;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case L'*': {
|
||||
if (unescape_special) {
|
||||
// In general, this is ANY_STRING. But as a hack, if the last appended char
|
||||
|
||||
Reference in New Issue
Block a user