From fff4b83962859f62b667876756905499edb96f8a Mon Sep 17 00:00:00 2001 From: nojhan Date: Thu, 5 Aug 2021 14:45:09 +0200 Subject: [PATCH] add missing pcat.py --- pcat.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 pcat.py diff --git a/pcat.py b/pcat.py new file mode 100755 index 0000000..9dd0768 --- /dev/null +++ b/pcat.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python3 +# +import sys + +while True: + with open(sys.argv[1],'r') as fd: + print(fd.read(), flush=True) +