summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-10-09 07:31:02 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-10-09 07:31:02 +0000
commit7a4b9608818726c6f120c7e0d0350e088d1306c6 (patch)
tree8a756209612de36f0ffd041e74f8ddc4efce1434 /usr.bin/file
parentdd1f8b9bf4e7772ce0648a6d8a506b17b9b98e40 (diff)
downloadsrc-test2-7a4b9608818726c6f120c7e0d0350e088d1306c6.tar.gz
src-test2-7a4b9608818726c6f120c7e0d0350e088d1306c6.zip
Notes
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/file.12
-rw-r--r--usr.bin/file/magic.526
2 files changed, 23 insertions, 5 deletions
diff --git a/usr.bin/file/file.1 b/usr.bin/file/file.1
index 263a8a2f0ef4..447ef5ad06d9 100644
--- a/usr.bin/file/file.1
+++ b/usr.bin/file/file.1
@@ -16,7 +16,7 @@
.Fl C
.Op Fl m Ar magicfile
.Sh DESCRIPTION
-This manual page documents version 3.36 of the
+This manual page documents version 3.37 of the
.Nm
command.
.Pp
diff --git a/usr.bin/file/magic.5 b/usr.bin/file/magic.5
index fd9470059e4b..9b1bb26f7f2e 100644
--- a/usr.bin/file/magic.5
+++ b/usr.bin/file/magic.5
@@ -13,7 +13,7 @@
This manual page documents the format of the magic file as
used by the
.Nm
-command, version 3.36.
+command, version 3.37.
The
.Nm file
command identifies the type of a file using,
@@ -66,21 +66,38 @@ in the magic match both lower and upper case characters in the
targer, whereas upper case characters in the magic, only much
uppercase characters in the target.
.It date
-A four-byte value interpreted as a unix date.
+A four-byte value interpreted as a
+.Ux
+date.
+.It ldate
+A four-byte value interpreted as a
+.Ux Ns -style
+date, but interpreted as
+local time rather than UTC.
.It beshort
A two-byte value (on most systems) in big-endian byte order.
.It belong
A four-byte value (on most systems) in big-endian byte order.
.It bedate
A four-byte value (on most systems) in big-endian byte order,
-interpreted as a unix date.
+interpreted as a
+.Ux
+date.
.It leshort
A two-byte value (on most systems) in little-endian byte order.
.It lelong
A four-byte value (on most systems) in little-endian byte order.
.It ledate
A four-byte value (on most systems) in little-endian byte order,
-interpreted as a unix date.
+interpreted as a
+.Ux
+date.
+.It leldate
+A four-byte value (on most systems) in little-endian byte order,
+interpreted as a
+.Ux Ns -style
+date, but interpreted as local time rather
+than UTC.
.El
.El
.Pp
@@ -242,3 +259,4 @@ indirect offsets.
.\" the changes I posted to the S5R2 version.
.\"
.\" Modified for Ian Darwin's version of the file command.
+.\" @(#)$Id: magic.man,v 1.17 2001/08/07 15:38:42 christos Exp $