def man_escape(string):
    """Escapes strings for man page compatibility"""
    result = string.replace('\\', '\\\\')
    result = result.replace('`', '\\`')
    result = result.replace('-', '\\-')
    return result
