File: cat_file.py

package info (click to toggle)
python-git 3.1.30-1%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,596 kB
  • sloc: python: 15,725; makefile: 80; sh: 28
file content (6 lines) | stat: -rw-r--r-- 136 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
import sys

with open(sys.argv[1]) as fd:
    for line in fd.readlines():
        sys.stdout.write(line)
        sys.stderr.write(line)