Created
April 14, 2020 07:14
-
-
Save yinchunxiang/5edb12b6a8d836d0075866ca7e6a3d71 to your computer and use it in GitHub Desktop.
{python} read from stdin and write to stdout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo hallo | python -c "import sys;[sys.stdout.write(line) for line in sys.stdin]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment