added output for '--entry', removed ^M charactors