aboutsummaryrefslogtreecommitdiff
path: root/templess
diff options
context:
space:
mode:
Diffstat (limited to 'templess')
-rwxr-xr-xtempless2
1 files changed, 2 insertions, 0 deletions
diff --git a/templess b/templess
index ec3b999..b06ace7 100755
--- a/templess
+++ b/templess
@@ -1,6 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Write standard in to a temporary file and sends it to a pager. 3# Write standard in to a temporary file and sends it to a pager.
4# This is used to be able to pipe the content displayed by less to
5# an external program.
4 6
5pager=${PAGER:-less} 7pager=${PAGER:-less}
6tempfile=$(mktemp) 8tempfile=$(mktemp)

Generated with cgit - Back to sebastiano.tronto.net