File: qcat.py

package info (click to toggle)
python-subprocess32 3.2.7-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 324 kB
  • sloc: python: 2,951; ansic: 792; makefile: 6
file content (7 lines) | stat: -rw-r--r-- 159 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
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)