Package: less
Version: 487-0.1+b1
Severity: normal
When invoked with stdin from a pipe, less looks for a file named "-" in
the current directory.
Steps to reproduce:
$ echo foo | strace -o /tmp/strace less -E
$ grep '"-"' /tmp/strace
stat("-", 0x7ffd54fe14a0) = -1 ENOENT (No such file or directory)
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages less depends on:
ii debianutils 4.8.6
ii libc62.27-3
ii libtinfo66.1+20180210-4
less recommends no packages.
less suggests no packages.
-- no debconf information