diff options
Diffstat (limited to 'Lib/test/subprocessdata/qcat.py')
-rw-r--r-- | Lib/test/subprocessdata/qcat.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/subprocessdata/qcat.py b/Lib/test/subprocessdata/qcat.py new file mode 100644 index 00000000000..fe6f9db25c9 --- /dev/null +++ b/Lib/test/subprocessdata/qcat.py @@ -0,0 +1,7 @@ +"""When ran as a script, simulates cat with no arguments.""" + +import sys + +if __name__ == "__main__": + for line in sys.stdin: + sys.stdout.write(line) |