Branch: Tag:

1998-04-17

1998-04-17 05:07:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

sh_quote added

Rev: lib/modules/Process.pmod:1.18

25:    return 69;   }    + string sh_quote(string s) + { +  return replace(s, +  ({"\\", "'", "\"", " "}), +  ({"\\\\", "\\'", "\\\"","\\ "})); + } +    string *split_quoted_string(string s)   {    s=replace(s, ({"\"","'","\\"," "}), ({"\0\"","\0'","\0\\","\0 "}));