[Bug 1915568] Re: lessfile is broken when using ~/.lessfilter
Launchpad Bug Tracker
1915568 at bugs.launchpad.net
Fri Dec 31 15:19:15 UTC 2021
This bug was fixed in the package less - 590-1
---------------
less (590-1) sid; urgency=low
[ Milan Kupcevic ]
* new upstream release (closes: #983599, #995984)
- avoid spurious empty lines (closes: #763631)
- remove erroneous free() (closes: #990035)
* debian/lesspipe.1: list zstd related file types
* debian/lesspipe: redo lessfilter handling
(closes: #788438, #992354)(lp: #1915568)
* debian/lesspipe: safeguard from possible improper delete
(closes: #1002301)
* refresh quilt patches
* update copyright notice
* set standards version to 4.6.0
[ Adam Borowski ]
* lesspipe: support zstd-compressed files (closes: #964930)
-- Milan Kupcevic <milan at debian.org> Thu, 30 Dec 2021 01:54:19 -0500
** Changed in: less (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to less in Ubuntu.
https://bugs.launchpad.net/bugs/1915568
Title:
lessfile is broken when using ~/.lessfilter
Status in less package in Ubuntu:
Fix Released
Bug description:
If ~/.lessfilter exists and is used by lesspipe/lessfile, then
lessfile will make the filename of the temporary file visible in less.
The attached patch fixes this. (The filename is echoed to less after
the subshell exits; trying to do it inside the subshell means it ends
up looking to less like part of the file being viewed.)
To test this, you can place the following file at ~/.lessfilter:
#!/bin/sh
echo foo
exit 0
Then opening any file in less (assuming you have lessfile set up)
should show "foo". The bug is that, currently, it also shows a
filename from somewhere in /tmp.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: less 487-0.1
ProcVersionSignature: Ubuntu 4.15.0-135.139-generic 4.15.18
Uname: Linux 4.15.0-135-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.23
Architecture: amd64
CurrentDesktop: Unity7
Date: Fri Feb 12 21:25:34 2021
Dependencies:
debianutils 4.8.4
gcc-8-base 8.4.0-1ubuntu1~18.04
libc6 2.27-3ubuntu1.4
libgcc1 1:8.4.0-1ubuntu1~18.04
libtinfo5 6.1-1ubuntu1.18.04
InstallationDate: Installed on 2018-08-13 (914 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: less
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/less/+bug/1915568/+subscriptions
More information about the foundations-bugs
mailing list