From 03d827e2fbc409ef97829f25b8eeca5204f81a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 12 Jul 2021 13:24:49 +0200 Subject: Re-organize files --- etc/p | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 etc/p (limited to 'etc/p') diff --git a/etc/p b/etc/p new file mode 100755 index 0000000..b145031 --- /dev/null +++ b/etc/p @@ -0,0 +1,7 @@ +#!/bin/sh + +# p -- maybe view command output in pager + +[ -t 0 ] && exec /bin/sh -c '"$@" 2>&1 | "$0"' "$0" "$@" + +cat | tee /var/tmp/pg -- cgit v1.2.3