51
56
outfile.write(man_escape(man_head % params))
52
57
outfile.write(man_escape(getcommand_list(params)))
53
58
outfile.write(man_escape(getcommand_help(params)))
54
60
outfile.write(man_escape(man_foot % params))
58
64
"""Escapes strings for man page compatibility"""
59
65
result = string.replace("\\","\\\\")
62
68
result = result.replace("-","\\-")