def main(args=None): if args is None: args = sys.argv[1:] fileutils.make_stdout_binary() print_newline = True if len(args) and args[0] == '-n': print_newline = False del args[0] sys.stdout.write(' '.join(args)) if print_newline: sys.stdout.write('\n') return 0
def main(): fileutils.make_stdout_binary() sys.stdout.write(sys.stdin.read()) return 0