From owner-freebsd-bugs Thu Oct 31 23:20:15 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA25388 for bugs-outgoing; Thu, 31 Oct 1996 23:20:15 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA25369; Thu, 31 Oct 1996 23:20:10 -0800 (PST) Date: Thu, 31 Oct 1996 23:20:10 -0800 (PST) From: Joerg Wunsch Message-Id: <199611010720.XAA25369@freefall.freebsd.org> To: mi@aldan.ziplink.net, joerg, freebsd-bugs Subject: Re: bin/1925 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: file does not consider cyrillic text as text -- breaks apsfilter State-Changed-From-To: open-analyzed State-Changed-By: joerg State-Changed-When: Fri Nov 1 08:15:29 MET 1996 State-Changed-Why: Making file(1) considering the user's locale is most likely the wrong way to go. Anyway, it won't help at all in the case of a daemon since a daemon doesn't have a locale (there might be users of various different locales active on the same machine simultaneously). SysV's file(1) seems to do a much better job in identifying text files, so it's not out of question that we might find a better algorithm as well. I assume they take some line length into consideration.