X-Spam-Check-By: sourceware.org Message-Id: <200612051537.kB5Fb9NN012612@tigris.pounder.sol.net> From: cygzx AT trodman DOT com (Tom Rodman) Reply-to: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: printf '\377\376h\000\r\000\n\000'|file - #wrong result? In-reply-to: <20061204211035.GF9829@calimero.vinschen.de> References: <200612042047 DOT kB4KlhcV005862 AT tigris DOT pounder DOT sol DOT net> <20061204211035 DOT GF9829 AT calimero DOT vinschen DOT de> Date: Tue, 05 Dec 2006 09:37:09 -0600 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Thanks Corinna On Mon 12/4/06 22:10 +0100 cygwin AT cygwin DOT com wrote: > On Dec 4 14:47, Tom Rodman wrote: > > Should this directed to the "file" package maintainer?: > > No. You're using different versions of the `file' package. The output > of `file' is based on data files which are updated with each new version. > > Hint: Don't rely on the output of file being 100% accurate. It's using > approximations based on descriptions of file headers and typical > content. FWIW I tried renaming the magic* files below /usr/share/file, and then copied in those from the linux box. This throughly "broke" "file", so I reverted. I also spent a few min in the file and magic man pages, and suspect, given enough time it may be possible for an end user like me to fix this. I suspect this is OT for the list, so if I pursue this further I will post to another more appropriate (UNIX/usenet) group. -- thanks again, Tom looks like the latest "file" package is about 1 year old?: --v-v------------------C-U-T---H-E-R-E-------------------------v-v-- $ command ls -log $(cygcheck -l file|d2u) -r-xr-xr-x+ 1 49152 Nov 19 2005 /usr/bin/cygmagic-1.dll -r-xr-xr-x+ 1 9728 Nov 19 2005 /usr/bin/file.exe -r-xr-xr-x+ 1 2633 Nov 19 2005 /usr/include/magic.h -r-xr-xr-x+ 1 308542 Nov 19 2005 /usr/lib/libmagic.a -r-xr-xr-x+ 1 21304 Nov 19 2005 /usr/lib/libmagic.dll.a -r-xr-xr-x+ 1 776 Nov 19 2005 /usr/lib/libmagic.la -r-xr-xr-x+ 1 428530 Nov 19 2005 /usr/share/file/magic -r-xr-xr-x+ 1 928512 Nov 19 2005 /usr/share/file/magic.mgc -r-xr-xr-x+ 1 30955 Nov 19 2005 /usr/share/file/magic.mime -r-xr-xr-x+ 1 43904 Nov 19 2005 /usr/share/file/magic.mime.mgc -r-xr-xr-x+ 1 16480 Nov 19 2005 /usr/share/man/man1/file.1 -r-xr-xr-x+ 1 6647 Nov 19 2005 /usr/share/man/man3/libmagic.3 -r-xr-xr-x+ 1 12074 Nov 19 2005 /usr/share/man/man5/magic.5 $ cygcheck -c file Cygwin Package Information Package Version Status file 4.16-1 OK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/