#!/bin/sh # # Copyright © 2021 Jonas Smedegaard # Description: pipe a command to less with INT signal blocked # # This program is free software; # you can redistribute it and/or modify it # under the terms of the GNU General Public License # as published by the Free Software Foundation; # either version 2, or (at your option) any later version. # # Thanks to Jakub Wilk for the trick # # Depends: less set -e PRG=$(basename "$0") showhelp() { cat <