Fix ssh!
This commit is contained in:
@@ -72,6 +72,11 @@ std::string quote(std::string str)
|
||||
return "\""+str+"\"";
|
||||
}
|
||||
|
||||
std::string halfquote(std::string str)
|
||||
{
|
||||
return "'" + str + "'";
|
||||
}
|
||||
|
||||
std::string multi2string(std::vector<std::string> values)
|
||||
{
|
||||
std::string result;
|
||||
|
@@ -19,6 +19,7 @@ bool replace_line_in_file(const std::string& file_path, const std::string& searc
|
||||
std::string trim(std::string str);
|
||||
std::string dequote(std::string str);
|
||||
std::string quote(std::string str);
|
||||
std::string halfquote(std::string str);
|
||||
std::string multi2string(std::vector<std::string> values);
|
||||
std::vector<std::string> string2multi(std::string values);
|
||||
std::vector<std::string> split(const std::string& str, const std::string& delimiter);
|
||||
|
Reference in New Issue
Block a user