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

Re: bug with less ?



On Thu, 2004-07-08 at 21:02 -0400, T. Howell-Cintron wrote:
> On 2004/07/08 23:32EDT Rui Miguel Seabra <rms 1407 org> 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.

Ah... or fix lesspipe.sh

Rui

Attachment: signature.asc
Description: This is a digitally signed message part


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