forked from Bananymous/banan-os
Shell: Fix parsing $ with unknown character
This commit is contained in:
parent
adc5ff9e99
commit
8c792f9c6d
|
@ -156,7 +156,9 @@ BAN::Optional<BAN::String> parse_dollar(BAN::StringView command, size_t& i)
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "$"sv;
|
BAN::String temp = "$"sv;
|
||||||
|
MUST(temp.push_back(command[i]));
|
||||||
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
BAN::StringView strip_whitespace(BAN::StringView sv)
|
BAN::StringView strip_whitespace(BAN::StringView sv)
|
||||||
|
|
Loading…
Reference in New Issue