Created attachment 330104 [details] current default /usr/bin/lesspipe from sys-apps/less-456 The file /usr/bin/lesspipe (installed with sys-apps/less) contains the following by default on lines 12-21: guesscompress() { case "$1" in *.gz|*.z) echo "gunzip -c" ;; *.bz2|*.bz) echo "bunzip2 -c" ;; *.lz) echo "lzip -c" ;; *.lzma) echo "unlzma -c" ;; *.xz) echo "xzdec" ;; *) echo "cat" ;; esac } The correct command for decompressing *.lz files to stdout is "lzip -dc"; "lzip -c" compresses to stdout, which is the opposite of what we want to happen. Also, on line 246, "preproccess" is a typo.
should be all set now in the tree; thanks for the report! Commit message: Pass the -d flag to lzip for .lz files http://sources.gentoo.org/sys-apps/less/files/lesspipe.sh?r1=1.48&r2=1.49