format s -- prepare a string s for output by converting nonprintable characters to printable ones, or to escape sequences.