summaryrefslogtreecommitdiff
path: root/usr.bin/file
Commit message (Collapse)AuthorAgeFilesLines
* MFC: (rev. 1.2) identify timezone data files by their ``TZif'' magic numberArchie Cobbs2000-04-051-0/+4
| | | | Notes: svn path=/stable/3/; revision=59054
* MFC: Remove single-space hard sentence breaks.Sheldon Hearn2000-03-062-9/+18
| | | | Notes: svn path=/stable/3/; revision=57783
* MFC: correct spelling: ascii -> ASCIIAlexey Zelkin1999-09-201-1/+1
| | | | | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp Notes: svn path=/stable/3/; revision=51459
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2925-25/+25
| | | | Notes: svn path=/stable/3/; revision=50581
* MFC: make file(1) much faster by sizing cache for magic(5)Wes Peters1999-07-222-6/+7
| | | | | | | database appropriately. Notes: svn path=/stable/3/; revision=48971
* Add Hitachi SH-3, SH-4, ARM, PPC, 68k PA-ARCH and a few others to PEWarner Losh1999-01-091-27/+99
| | | | | | | | file types. Also add bit interpretation from NetBSD to give more details about the file. Notes: svn path=/head/; revision=42416
* New file formats.David E. O'Brien1998-11-1518-0/+645
| | | | | | | Obtained from: NetBSD-current/src/usr.bin/file/magdir Notes: svn path=/head/; revision=41159
* Additional file formats.David E. O'Brien1998-11-151-7/+38
| | | | | | | Obtained from: NetBSD-current/src/usr.bin/file/magdir/msdos Notes: svn path=/head/; revision=41158
* Added Microsoft's PE formatted executables for mips, i386 and Alpha.Warner Losh1998-10-221-1/+33
| | | | | | | | | | Also added entry for the debugger files as well. The PE format is used for all Win32 platforms (Win95, Win98, WinNT and WinCE), so it is nice to be able to tell what kind of thing the foo.dll.... Don't have any data for powerpc formats, however... Notes: svn path=/head/; revision=40563
* Don't try to print out the signal number that caused core to beJohn Polstra1998-10-091-3/+1
| | | | | | | | dumped. It is not in a fixed location in the file, so at best, garbage comes out. I don't think this code was ever valid. Notes: svn path=/head/; revision=40095
* Fix "file" so that it prints the program names from core filesJohn Polstra1998-10-031-12/+16
| | | | | | | correctly. Notes: svn path=/head/; revision=39911
* Remove useless `BINOWN=root' now that it is the default.David E. O'Brien1998-09-191-4/+2
| | | | Notes: svn path=/head/; revision=39495
* Correct zsh shell script entry.Martin Cracauer1998-09-071-2/+2
| | | | | | | | PR: bin/7657 Submitted by: Dom Mitchell dom@phmit.demon.co.uk Notes: svn path=/head/; revision=38912
* This PR contains additional magic for file(1) describingPoul-Henning Kamp1998-08-071-0/+50
| | | | | | | | | | | | | | various adventure game data files. from Allen Garvin <earendil@faeryland.tamu-commerce.edu> Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998 PR: 7466 Reviewed by: phk Submitted by: The Frobozz Magic Homing Pigeon Company Notes: svn path=/head/; revision=38152
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-4/+2
| | | | Notes: svn path=/head/; revision=34801
* Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead.John Birrell1998-02-201-2/+2
| | | | Notes: svn path=/head/; revision=33651
* Add #include <string.h> to get prototypes.John Birrell1998-02-201-1/+2
| | | | Notes: svn path=/head/; revision=33650
* Convert to mdoc. Move Id to the top.Philippe Charnier1998-02-041-82/+91
| | | | Notes: svn path=/head/; revision=33077
* Add rcsid. RU#. Use err(3) instead of local redefinition. Convert man page toPhilippe Charnier1998-01-2813-499/+337
| | | | | | | mdoc format. Add usage(). Remove rcs $ Log $ -> use cvs log instead. Notes: svn path=/head/; revision=32846
* /etc/magic -> /usr/share/misc/magicSteve Price1997-11-041-2/+2
| | | | | | | PR: docs/4872 Notes: svn path=/head/; revision=30920
* Check for invalid lower controls to not claim binary data with chars < 128 asAndrey A. Chernov1997-10-041-8/+11
| | | | | | | | ASCII _text_ Cleanup names detection code Notes: svn path=/head/; revision=30094
* Add magic for FIGlet fonts and controlfilesDavid E. O'Brien1997-06-291-0/+9
| | | | | | | Obtained from: Figlet v2.2 release. Notes: svn path=/head/; revision=27052
* Remove the etc-magic target since we no longer install theMike Pritchard1997-04-041-5/+1
| | | | | | | /etc/magic symlink. Notes: svn path=/head/; revision=24607
* The magic file now lives in /usr/share/misc.Mike Pritchard1997-04-041-5/+7
| | | | | | | | | Closes PR# 3187. Submitted by: Ollivier Robert <roberto@keltia.freenix.fr> Notes: svn path=/head/; revision=24606
* Fix broken built-in ELF file handling, caused by missing prototypesJohn Polstra1997-03-292-3/+7
| | | | | | | and use of off_t. Correct the types of Elf64_Addr and Elf64_Off. Notes: svn path=/head/; revision=24397
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* I had to rename one additional file in the last file import, soMike Pritchard1997-03-201-1/+2
| | | | | | | update this script to reflect that. Notes: svn path=/head/; revision=24070
* The author picked up this file from FreeBSD, but gave it a different nameMike Pritchard1997-03-181-72/+0
| | | | | | | in file v3.22, so this one is going away. Notes: svn path=/head/; revision=23996
* Merge to resolve conflicts with file 3.22 merge.Mike Pritchard1997-03-1819-270/+531
| | | | Notes: svn path=/head/; revision=23995
* This commit was generated by cvs2svn to compensate for changes in r23988,Mike Pritchard1997-03-1833-85/+1136
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=23989
| * Upgrade to file version 3.22.Mike Pritchard1997-03-1852-307/+1714
| | | | | | | | | | | | | | Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz Notes: svn path=/vendor/file/dist/; revision=23988
* | Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-2/+5
| | | | | | | | Notes: svn path=/head/; revision=23012
* | Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2222-22/+31
| | | | | | | | Notes: svn path=/head/; revision=23006
* | Add framemaker 5.0.Poul-Henning Kamp1997-02-041-0/+1
| | | | | | | | | | | | | | This file could be rationalized I belive. Notes: svn path=/head/; revision=22259
* | Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-1422-22/+25
| | | | | | | | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* | Move the check for ASCIIness earlier. This avoids the followingJoerg Wunsch1996-12-201-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | misdetection: j@uriah 307% file X.hga X.hga: 80386 COFF executable not stripped j@uriah 308% strings X.hga | head -3 ~f&`i .text .data j@uriah 309% strings X.hga | file - standard input: assembler program text New version: j@uriah 310% strings X.hga | ./file - standard input: International language text Reviewed by: christos@deshaw.com (Christos Zoulas) Notes: svn path=/head/; revision=20721
* | Restored installation of /etc/magic. It's now a symlink instead of aBruce Evans1996-12-131-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | file (like /etc/termcap). /usr/src/etc/Makefile depends on there being an etc-magic install rule here, and who-knows-what depends on `magic' being in /etc. Fixed some style bugs - don't use -c for installing files in the obj directory... Notes: svn path=/head/; revision=20394
* | Add another matching algorithhm to do heuristics for internationalJoerg Wunsch1996-12-114-6/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | language text files. Should finally close PR # bin/1925: file does not consider cyrillic text..., though i've never got any response from the originator about my suggestion. While i was at it, also move out the `magic' file to /usr/share/misc, there's nothing that magic with this file to justify its life under /etc. Notes: svn path=/head/; revision=20323
* | Detect GUS patches nowAndrey A. Chernov1996-11-171-0/+6
| | | | | | | | Notes: svn path=/head/; revision=19836
* | Teach file about:Eric L. Hernes1996-10-243-1/+14
| | | | | | | | | | | | | | | | | | 1) our branded elf's 2) mpeg audio/video/system streams 3) compiled java classes Notes: svn path=/head/; revision=19156
* | Added magic file for bzip in ./MagdirAndreas Klemm1996-09-271-0/+14
| | | | | | | | | | | | | | Obtained from: bzip sources ;) Notes: svn path=/head/; revision=18524
* | Make "file foo.core" print the program name properly again.John Polstra1996-09-051-1/+1
| | | | | | | | Notes: svn path=/head/; revision=18048
* | make install should not install any file in /etc.Wolfram Schneider1996-08-171-2/+3
| | | | | | | | Notes: svn path=/head/; revision=17639
* | New magic file with more politically correct identification of objectsJordan K. Hubbard1996-07-051-11/+77
| | | | | | | | | | | | | | | | and execs. Submitted-By: Brent Nordquist <nordquis@winternet.com> Notes: svn path=/head/; revision=16982
* | Update an offset field for i386 a.out core files, so that the programJohn Polstra1996-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | name comes out right again. Note: Don't bring this change directly into the -stable branch. The appropriate offset for -stable is different. Notes: svn path=/head/; revision=15297
* | Fix a typo in the syntax for indirect offsets.John Polstra1996-04-181-2/+2
| | | | | | | | Notes: svn path=/head/; revision=15296
* | Fixed some minor formatting problems to silence manck some more.Mike Pritchard1996-02-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | Corrected some bogus cross references to man pages that we don't/won't have and either deleted them, or found a more appropriate man page that we do have. Various other minor changes to silence manck. Manck is currently down to about 200 lines of errors, down from the 500 - 600+ when I started all this. Notes: svn path=/head/; revision=14042
* | Recognize ld.so.hints file. Don't ask.Garrett Wollman1996-02-071-0/+5
| | | | | | | | Notes: svn path=/head/; revision=13958
* | Correct some manual page cross reference errors. E.g. su is a sectionMike Pritchard1996-02-021-2/+2
| | | | | | | | | | | | | | | | one man page, not section eight. This is the first round of such changes and only fixes man pages in manual section one. Notes: svn path=/head/; revision=13835
* | Fix a bunch of spelling errors in a bunch of man pages.Mike Pritchard1996-01-301-3/+3
| | | | | | | | Notes: svn path=/head/; revision=13744