qcat.py 159 B

1234567
  1. """When ran as a script, simulates cat with no arguments."""
  2. import sys
  3. if __name__ == "__main__":
  4. for line in sys.stdin:
  5. sys.stdout.write(line)