named-pipes-services/pcat.py
2021-08-05 14:45:09 +02:00

8 lines
125 B
Python
Executable file

#!/usr/bin/env python3
#
import sys
while True:
with open(sys.argv[1],'r') as fd:
print(fd.read(), flush=True)