FRQZB7LJV6PBJV66QJ52NYFFTV4TFTBRSQRAD46REZJW6BL4W7UAC
FIIUZR4LJOB5DPB4CBMPJHMO7C5Q4ZINUVM52UK6SIM5WM7R7ZLAC
UFSP7C7B2ERFJ2XVVVNXGZRXUEMFSMRABC5YXXLK6ONMFG6QBNHAC
OZUZ5H6DJUXJ2MEHQK6FQ7LTSPUHHGZSFZ3SPBV26A2KBE4TQKQQC
fn escape_string(s: &str) -> String { let mut result = String::with_capacity(s.len()); for c in s.chars() { match c { '\n' => result.push_str("\\n"), '\\' => result.push_str("\\\\"), '\"' => result.push_str("\\\""), _ => result.push(c), } } return result;}
fn escape_string(s: &str) -> String {
let mut result = String::with_capacity(s.len());
for c in s.chars() {
match c {
'\n' => result.push_str("\\n"),
'\\' => result.push_str("\\\\"),
'\"' => result.push_str("\\\""),
_ => result.push(c),
}
return result;
println!("M 644 :{} {}", file_marks[i], &files[i].name);
println!( "M 644 :{} \"{}\"", file_marks[i], escape_string(&files[i].name) );
println!(
"M 644 :{} \"{}\"",
file_marks[i],
escape_string(&files[i].name)
);