New implementation of the file(1) utility. This is a simplified,
authornicm <nicm@openbsd.org>
Fri, 24 Apr 2015 16:24:11 +0000 (16:24 +0000)
committernicm <nicm@openbsd.org>
Fri, 24 Apr 2015 16:24:11 +0000 (16:24 +0000)
commitff772f706f98a917ef77115483138a600bbc20e6
treec833972ee7799bf8b7fee38d233f79f29fb50fde
parentc32ad687d4f9d888e4b84a306286c1c917445103
New implementation of the file(1) utility. This is a simplified,
modernised version with a nearly complete magic(5) parser but omits some
of the complex builtin tests (notably ELF) and has a reduced set of
options.

ok deraadt
32 files changed:
usr.bin/file/LEGAL.NOTICE [deleted file]
usr.bin/file/MAINT [deleted file]
usr.bin/file/Makefile
usr.bin/file/README [deleted file]
usr.bin/file/apprentice.c [deleted file]
usr.bin/file/ascmagic.c [deleted file]
usr.bin/file/compress.c [deleted file]
usr.bin/file/config.h [deleted file]
usr.bin/file/elfclass.h [deleted file]
usr.bin/file/file.1
usr.bin/file/file.c
usr.bin/file/file.h
usr.bin/file/file_opts.h [deleted file]
usr.bin/file/fsmagic.c [deleted file]
usr.bin/file/funcs.c [deleted file]
usr.bin/file/is_tar.c [deleted file]
usr.bin/file/magic-common.c [new file with mode: 0644]
usr.bin/file/magic-dump.c [new file with mode: 0644]
usr.bin/file/magic-load.c [new file with mode: 0644]
usr.bin/file/magic-test.c [new file with mode: 0644]
usr.bin/file/magic.c [deleted file]
usr.bin/file/magic.h
usr.bin/file/names.h [deleted file]
usr.bin/file/patchlevel.h [deleted file]
usr.bin/file/print.c [deleted file]
usr.bin/file/readelf.c [deleted file]
usr.bin/file/readelf.h [deleted file]
usr.bin/file/softmagic.c [deleted file]
usr.bin/file/tar.h [deleted file]
usr.bin/file/text.c [new file with mode: 0644]
usr.bin/file/xmalloc.c [new file with mode: 0644]
usr.bin/file/xmalloc.h [new file with mode: 0644]