def_echo_parse_args(args):out={"escapes":False,"end":"\n","help":False}if"-e"inargs:args.remove("-e")out["escapes"]=Trueif"-E"inargs:args.remove("-E")out["escapes"]=Falseif"-n"inargs:args.remove("-n")out["end"]=""if"-h"inargsor"--help"inargs:out["help"]=TruereturnoutECHO_HELP="""Usage: echo [OPTIONS]... [STRING]...Echo the STRING(s) to standard output. -n do not include the trailing newline -e enable interpretation of backslash escapes -E disable interpretation of backslash escapes (default) -h --help display this message and exitThis version of echo was written in Python for the xonsh project: http://xon.shBased on echo from GNU coreutils: http://www.gnu.org/software/coreutils/"""