aboutsummaryrefslogtreecommitdiff
path: root/with-pager
diff options
context:
space:
mode:
Diffstat (limited to 'with-pager')
-rwxr-xr-xwith-pager2
1 files changed, 2 insertions, 0 deletions
diff --git a/with-pager b/with-pager
new file mode 100755
index 0000000..10f8717
--- /dev/null
+++ b/with-pager
@@ -0,0 +1,2 @@
+#!/bin/sh
+"$@" | ${PAGER:-less}