Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
d
Jamroot
Makefile
README
apprentice.c
ascmagic.c
config.h
file.1
file.h
file_opts.h
fsmagic.c
funcs.c
is_tar.c
magic.c
names.h
patchlevel.h
print.c
softmagic.c
tar.h

README

This implementation of file(1) has been taken from OpenBSD,
I have removed the elf part which reduces more than 1KLOC.
I have also cleaned up the code in order to fix some warnings
and integrate with r2 syntax. magic_ api is now r_magic_

   --pancake

$ cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/usr.bin/file

* understand and document how conditional works