From: Arnaud Giersch Date: Wed, 13 Feb 2013 16:37:25 +0000 (+0100) Subject: Add option -X to less, to avoid to clear the screen. X-Git-Tag: v3_9_90~491^2~33^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/680bcc894b3db63cd9bcd685640c459cbd4343ad?hp=b8b52890a65abf6ab75ab5551e9edf5566cb84ee Add option -X to less, to avoid to clear the screen. --- diff --git a/tools/check_dist_archive b/tools/check_dist_archive index 38fe76d02e..7937222119 100755 --- a/tools/check_dist_archive +++ b/tools/check_dist_archive @@ -94,9 +94,9 @@ diffcmd() { colordiff=$(type -p colordiff) colorless() { if [ -x "$colordiff" ]; then - "$colordiff" | less -R -F + "$colordiff" | less -R -F -X else - less -F + less -F -X fi }