diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-10-30 10:41:10 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-10-30 10:41:10 +0200 |
| commit | 8aa8a247985a08add0f92a3d24272408526003ff (patch) | |
| tree | 6b340e9ac8aecd843622dcea37b20fbf3874b8ae | |
| parent | 2a31393ecf448fb88d721ac09ef5b73bc8113ef7 (diff) | |
| download | scripts-8aa8a247985a08add0f92a3d24272408526003ff.tar.gz scripts-8aa8a247985a08add0f92a3d24272408526003ff.zip | |
Added back templess
| -rwxr-xr-x | templess | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -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 | ||
| 5 | pager=${PAGER:-less} | 7 | pager=${PAGER:-less} |
| 6 | tempfile=$(mktemp) | 8 | tempfile=$(mktemp) |
