On Fri, 29 Jan 2016 23:58:38 -0500, Random832 wrote: > python <(echo 'import sys;print("".join(reversed(list(sys.stdin))))')
Why do you write it as follows: cat input_file | python -c 'import sys;print("".join(reversed(list (sys.stdin))))' Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. -- https://mail.python.org/mailman/listinfo/python-list