aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
commita16f65c7d117419bd266c28a1901ef129a337569 (patch)
tree2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /usr.bin/file
parent8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff)
This commit was manufactured to restore the state of the 1.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/file.14
-rw-r--r--usr.bin/file/magdir/freebsd13
2 files changed, 12 insertions, 5 deletions
diff --git a/usr.bin/file/file.1 b/usr.bin/file/file.1
index b805b46bef0d..5b34115decee 100644
--- a/usr.bin/file/file.1
+++ b/usr.bin/file/file.1
@@ -147,7 +147,7 @@ option causes symlinks to be followed, as the like-named option in
This program is believed to exceed the System V Interface Definition
of FILE(CMD), as near as one can determine from the vague language
contained therein.
-Its behaviour is mostly compatible with the System V program of the same name.
+Its behavior is mostly compatible with the System V program of the same name.
This version knows more magic, however, so it will produce
different (albeit more accurate) output in many cases.
.PP
@@ -312,7 +312,7 @@ The magic file and keywords should have regular expression support.
Their use of ASCII TAB as a field delimiter is ugly and makes
it hard to edit the files, but is entrenched.
.PP
-It might be advisable to allow upper-case letters in keywords
+It might be advisible to allow upper-case letters in keywords
for e.g., troff commands vs man page macros.
Regular expression support would make this easy.
.PP
diff --git a/usr.bin/file/magdir/freebsd b/usr.bin/file/magdir/freebsd
index 9b5e1f9682bf..756b0acf91e3 100644
--- a/usr.bin/file/magdir/freebsd
+++ b/usr.bin/file/magdir/freebsd
@@ -1,5 +1,12 @@
# the following are for 386BSD/FreeBSD
-0 long 0410 pure executable
-0 long 0413 demand paged executable
->16 long >0 not stripped
+0 long 0410 pure executable
+0 long 0413 demand paged executable
+0 long&077777777 041400314 FreeBSD/i386 demand paged
+>3 byte &0x80
+>>20 long <4096 shared library
+>>20 long =4096 dynamically linked executable
+>>20 long >4096 dynamically linked executable
+>3 byte ^0x80 executable
+>16 long >0 not stripped
+