2 package org
.de
.metux
.util
;
6 public class ShellEscape
9 public static String
filename ( String fn
)
11 return new File(fn
).toString();
14 // make xx"foo" => xx\"foo\"
15 public static String
quoting(String str
)
17 str
= StrReplace
.replace("\"", "+++quot+++", str
);
18 str
= StrReplace
.replace("+++quot+++", "\\\"", str
);