From b12b427f068a7b3302f227c3af8e90c18052ed64 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 24 Oct 2021 13:10:06 +0200 Subject: Removed templess (I only used it with mmh) --- templess | 8 -------- 1 file changed, 8 deletions(-) delete mode 100755 templess (limited to 'templess') diff --git a/templess b/templess deleted file mode 100755 index ec3b999..0000000 --- a/templess +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# Write standard in to a temporary file and sends it to a pager. - -pager=${PAGER:-less} -tempfile=$(mktemp) - -cat > "$tempfile" && $pager "$tempfile" -- cgit v1.3 From 2a31393ecf448fb88d721ac09ef5b73bc8113ef7 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 30 Oct 2021 10:39:38 +0200 Subject: Revert "Removed templess (I only used it with mmh)" I actually used it to be able to pipe the content displayed by less to an external command, which is used for example to find urls in my emails with a less shortcut. This reverts commit b12b427f068a7b3302f227c3af8e90c18052ed64. --- Makefile | 1 + templess | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100755 templess (limited to 'templess') diff --git a/Makefile b/Makefile index e547814..827f0bd 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,7 @@ SCRIPTS = addressgrep \ popup-terminal \ sfeed-browser \ spawn \ + templess \ togglemute \ translate \ urlgrep \ diff --git a/templess b/templess new file mode 100755 index 0000000..ec3b999 --- /dev/null +++ b/templess @@ -0,0 +1,8 @@ +#!/bin/sh + +# Write standard in to a temporary file and sends it to a pager. + +pager=${PAGER:-less} +tempfile=$(mktemp) + +cat > "$tempfile" && $pager "$tempfile" -- cgit v1.3 From 8aa8a247985a08add0f92a3d24272408526003ff Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 30 Oct 2021 10:41:10 +0200 Subject: Added back templess --- templess | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templess') diff --git a/templess b/templess index ec3b999..b06ace7 100755 --- a/templess +++ b/templess @@ -1,6 +1,8 @@ #!/bin/sh # Write standard in to a temporary file and sends it to a pager. +# This is used to be able to pipe the content displayed by less to +# an external program. pager=${PAGER:-less} tempfile=$(mktemp) -- cgit v1.3