Date: Tue, 29 Oct 1996 15:03:55 -0500 (EST) From: mi@aldan.ziplink.net To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1925: file(1) or apsfilter problem Message-ID: <199610292003.PAA09251@rtfm.ziplink.net> Resent-Message-ID: <199610292010.MAA20378@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1925 >Category: bin >Synopsis: file does not consider cyrillic text as text -- breaks apsfilter >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 29 12:10:01 PST 1996 >Last-Modified: >Originator: Mikhail Teterin >Organization: >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: >Description: File(1) considers text with cyrillic characters as data. This definetly breaks apsfilter, and may be other things too. >How-To-Repeat: mi@rtfm:/tmp (185) echo $LANG ru_SU.KOI8-R mi@rtfm:/tmp (186) cal > /tmp/t mi@rtfm:/tmp (187) file !$ file /tmp/t /tmp/t: data mi@rtfm:/tmp (188) unsetenv LANG mi@rtfm:/tmp (189) cal > /tmp/t mi@rtfm:/tmp (190) file !$ file /tmp/t /tmp/t: ASCII text >Fix: Force apsfilter to treat the particular file as ASCII and/ or fix the magic(5) file somehow (correct output should be like, say, "non-ASCII text", but how to destinguish it from data?). >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610292003.PAA09251>