http://qa.mandrakesoft.com/show_bug.cgi?id=3928





------- Additional Comments From [EMAIL PROTECTED]  2003-02-07 19:20 -------
I firmly believe this is a bug in file-4.0x package, not in less. Reason:

1.
[EMAIL PROTECTED] deaddog]$ file /etc/lilo.conf
/etc/lilo.conf: \<head                  HTML document text
[EMAIL PROTECTED] deaddog]$ file
/usr/share/doc/fonts-ttf-vera-1.10/RELEASENOTES.TXT
/usr/share/doc/fonts-ttf-vera-1.10/RELEASENOTES.TXT: \<!doctype\ html   HTML
document text

2.
In /usr/bin/lesspipe.sh:
  elif [[ "$1" = *HTML* ]]; then
    echo "==> append $sep to filename to view the HTML source"
    lynx -dump -force_html "$2"

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date: 
description: 
odd bug - less seems recently to have started identifying some (not all) plain
text files as html. It does this on my /etc/lilo.conf (and someone else's in
#mdk-cooker), and also /usr/share/doc/fonts-ttf-vera-1.10/RELEASENOTES.TXT ,
from the fonts-ttf-vera package. I can attach these offending files if
necessary, let me know. This causes it to try and use lynx to display the file,
which makes it look wrong (if you have lynx) or causes it not to display at all
(if you don't).

Reply via email to