Re: bug with less ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2004/07/08 23:32EDT Rui Miguel Seabra <rms@xxxxxxxx> wrote:

> [slash@roque slash]$ less INSTALL.rpm
> INSTALL.rpm: not an rpm package (or package manifest):
> INSTALL.rpm (END)
> [slash@roque slash]$ file INSTALL.rpm
> INSTALL.rpm: ASCII English text
> 
> Yes, file is correct. User slash is a fresh account, with only the
> system defaults.

Less is using /usr/bin/lesspipe.sh, which is hard-coded to view *.rpm
files as the output of "rpm -qpivl --changelog" instead of the contents
of the file itself.  You can unset LESSOPEN to revert to the expected
behaviour.

	- Tom



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux