Debian Codegraph @

upstream/debian-trixie/man1/file.1

raw
1 .\" $File: file.man,v 1.151 2024/04/07 21:27:35 christos Exp $
2 .Dd April 7, 2024
3 .Dt FILE 1
4 .Os
5 .Sh NAME
6 .Nm file
7 .Nd determine file type
8 .Sh SYNOPSIS
9 .Nm
10 .Bk -words
11 .Op Fl bcdEhiklLNnprsSvzZ0
12 .Op Fl Fl apple
13 .Op Fl Fl exclude-quiet
14 .Op Fl Fl extension
15 .Op Fl Fl mime-encoding
16 .Op Fl Fl mime-type
17 .Op Fl e Ar testname
18 .Op Fl F Ar separator
19 .Op Fl f Ar namefile
20 .Op Fl m Ar magicfiles
21 .Op Fl P Ar name=value
22 .Ar
23 .Ek
24 .Nm
25 .Fl C
26 .Op Fl m Ar magicfiles
27 .Nm
28 .Op Fl Fl help
29 .Sh DESCRIPTION
30 This manual page documents version 5.46 of the
31 .Nm
32 command.
33 .Pp
34 .Nm
35 tests each argument in an attempt to classify it.
36 There are three sets of tests, performed in this order:
37 filesystem tests, magic tests, and language tests.
38 The
39 .Em first
40 test that succeeds causes the file type to be printed.
41 .Pp
42 The type printed will usually contain one of the words
43 .Em text
44 (the file contains only
45 printing characters and a few common control
46 characters and is probably safe to read on an
47 .Dv ASCII
48 terminal),
49 .Em executable
50 (the file contains the result of compiling a program
51 in a form understandable to some
52 .Tn UNIX
53 kernel or another),
54 or
55 .Em data
56 meaning anything else (data is usually
57 .Dq binary
58 or non-printable).
59 Exceptions are well-known file formats (core files, tar archives)
60 that are known to contain binary data.
61 When modifying magic files or the program itself, make sure to
62 .Em "preserve these keywords" .
63 Users depend on knowing that all the readable files in a directory
64 have the word
65 .Dq text
66 printed.
67 Don't do as Berkeley did and change
68 .Dq shell commands text
69 to
70 .Dq shell script .
71 .Pp
72 The filesystem tests are based on examining the return from a
73 .Xr stat 2
74 system call.
75 The program checks to see if the file is empty,
76 or if it's some sort of special file.
77 Any known file types appropriate to the system you are running on
78 (sockets, symbolic links, or named pipes (FIFOs) on those systems that
79 implement them)
80 are intuited if they are defined in the system header file
81 .In sys/stat.h .
82 .Pp
83 The magic tests are used to check for files with data in
84 particular fixed formats.
85 The canonical example of this is a binary executable (compiled program)
86 .Dv a.out
87 file, whose format is defined in
88 .In elf.h ,
89 .In a.out.h
90 and possibly
91 .In exec.h
92 in the standard include directory.
93 These files have a
94 .Dq magic number
95 stored in a particular place
96 near the beginning of the file that tells the
97 .Tn UNIX
98 operating system
99 that the file is a binary executable, and which of several types thereof.
100 The concept of a
101 .Dq magic number
102 has been applied by extension to data files.
103 Any file with some invariant identifier at a small fixed
104 offset into the file can usually be described in this way.
105 The information identifying these files is read from /etc/magic
106 and the compiled
107 magic file
108 .Pa /usr/share/misc/magic.mgc ,
109 or the files in the directory
110 .Pa /usr/share/misc/magic
111 if the compiled file does not exist.
112 In addition, if
113 .Pa $HOME/.magic.mgc
114 or
115 .Pa $HOME/.magic
116 exists, it will be used in preference to the system magic files.
117 .Pp
118 If a file does not match any of the entries in the magic file,
119 it is examined to see if it seems to be a text file.
120 ASCII, ISO-8859-x, non-ISO 8-bit extended-ASCII character sets
121 (such as those used on Macintosh and IBM PC systems),
122 UTF-8-encoded Unicode, UTF-16-encoded Unicode, and EBCDIC
123 character sets can be distinguished by the different
124 ranges and sequences of bytes that constitute printable text
125 in each set.
126 If a file passes any of these tests, its character set is reported.
127 ASCII, ISO-8859-x, UTF-8, and extended-ASCII files are identified
128 as
129 .Dq text
130 because they will be mostly readable on nearly any terminal;
131 UTF-16 and EBCDIC are only
132 .Dq character data
133 because, while
134 they contain text, it is text that will require translation
135 before it can be read.
136 In addition,
137 .Nm
138 will attempt to determine other characteristics of text-type files.
139 If the lines of a file are terminated by CR, CRLF, or NEL, instead
140 of the Unix-standard LF, this will be reported.
141 Files that contain embedded escape sequences or overstriking
142 will also be identified.
143 .Pp
144 Once
145 .Nm
146 has determined the character set used in a text-type file,
147 it will
148 attempt to determine in what language the file is written.
149 The language tests look for particular strings (cf.
150 .In names.h )
151 that can appear anywhere in the first few blocks of a file.
152 For example, the keyword
153 .Em .br
154 indicates that the file is most likely a
155 .Xr troff 1
156 input file, just as the keyword
157 .Em struct
158 indicates a C program.
159 These tests are less reliable than the previous
160 two groups, so they are performed last.
161 The language test routines also test for some miscellany
162 (such as
163 .Xr tar 1
164 archives, JSON files).
165 .Pp
166 Any file that cannot be identified as having been written
167 in any of the character sets listed above is simply said to be
168 .Dq data .
169 .Sh OPTIONS
170 .Bl -tag -width indent
171 .It Fl Fl apple
172 Causes the
173 .Nm
174 command to output the file type and creator code as
175 used by older MacOS versions.
176 The code consists of eight letters,
177 the first describing the file type, the latter the creator.
178 This option works properly only for file formats that have the
179 apple-style output defined.
180 .It Fl b , Fl Fl brief
181 Do not prepend filenames to output lines (brief mode).
182 .It Fl C , Fl Fl compile
183 Write a
184 .Pa magic.mgc
185 output file that contains a pre-parsed version of the magic file or directory.
186 .It Fl c , Fl Fl checking-printout
187 Cause a checking printout of the parsed form of the magic file.
188 This is usually used in conjunction with the
189 .Fl m
190 option to debug a new magic file before installing it.
191 .It Fl d
192 Prints internal debugging information to stderr.
193 .It Fl E
194 On filesystem errors (file not found etc), instead of handling the error
195 as regular output as POSIX mandates and keep going, issue an error message
196 and exit.
197 .It Fl e , Fl Fl exclude Ar testname
198 Exclude the test named in
199 .Ar testname
200 from the list of tests made to determine the file type.
201 Valid test names are:
202 .Bl -tag -width compress
203 .It apptype
204 .Dv EMX
205 application type (only on EMX).
206 .It ascii
207 Various types of text files (this test will try to guess the text
208 encoding, irrespective of the setting of the
209 .Sq encoding
210 option).
211 .It encoding
212 Different text encodings for soft magic tests.
213 .It tokens
214 Ignored for backwards compatibility.
215 .It cdf
216 Prints details of Compound Document Files.
217 .It compress
218 Checks for, and looks inside, compressed files.
219 .It csv
220 Checks Comma Separated Value files.
221 .It elf
222 Prints ELF file details, provided soft magic tests are enabled and the
223 elf magic is found.
224 .It json
225 Examines JSON (RFC-7159) files by parsing them for compliance.
226 .It soft
227 Consults magic files.
228 .It simh
229 Examines SIMH tape files.
230 .It tar
231 Examines tar files by verifying the checksum of the 512 byte tar header.
232 Excluding this test can provide more detailed content description by using
233 the soft magic method.
234 .It text
235 A synonym for
236 .Sq ascii .
237 .El
238 .It Fl Fl exclude-quiet
239 Like
240 .Fl Fl exclude
241 but ignore tests that
242 .Nm
243 does not know about.
244 This is intended for compatibility with older versions of
245 .Nm .
246 .It Fl Fl extension
247 Print a slash-separated list of valid extensions for the file type found.
248 .It Fl F , Fl Fl separator Ar separator
249 Use the specified string as the separator between the filename and the
250 file result returned.
251 Defaults to
252 .Sq \&: .
253 .It Fl f , Fl Fl files-from Ar namefile
254 Read the names of the files to be examined from
255 .Ar namefile
256 (one per line)
257 before the argument list.
258 Either
259 .Ar namefile
260 or at least one filename argument must be present;
261 to test the standard input, use
262 .Sq -
263 as a filename argument.
264 Please note that
265 .Ar namefile
266 is unwrapped and the enclosed filenames are processed when this option is
267 encountered and before any further options processing is done.
268 This allows one to process multiple lists of files with different command line
269 arguments on the same
270 .Nm
271 invocation.
272 Thus if you want to set the delimiter, you need to do it before you specify
273 the list of files, like:
274 .Dq Fl F Ar @ Fl f Ar namefile ,
275 instead of:
276 .Dq Fl f Ar namefile Fl F Ar @ .
277 .It Fl h , Fl Fl no-dereference
278 This option causes symlinks not to be followed
279 (on systems that support symbolic links).
280 This is the default if the environment variable
281 .Dv POSIXLY_CORRECT
282 is not defined.
283 .It Fl i , Fl Fl mime
284 Causes the
285 .Nm
286 command to output mime type strings rather than the more
287 traditional human readable ones.
288 Thus it may say
289 .Sq text/plain; charset=us-ascii
290 rather than
291 .Dq ASCII text .
292 .It Fl Fl mime-type , Fl Fl mime-encoding
293 Like
294 .Fl i ,
295 but print only the specified element(s).
296 .It Fl k , Fl Fl keep-going
297 Don't stop at the first match, keep going.
298 Subsequent matches will be
299 have the string
300 .Sq "\[rs]012\- "
301 prepended.
302 (If you want a newline, see the
303 .Fl r
304 option.)
305 The magic pattern with the highest strength (see the
306 .Fl l
307 option) comes first.
308 .It Fl l , Fl Fl list
309 Shows a list of patterns and their strength sorted descending by
310 .Xr magic 5
311 strength
312 which is used for the matching (see also the
313 .Fl k
314 option).
315 .It Fl L , Fl Fl dereference
316 This option causes symlinks to be followed, as the like-named option in
317 .Xr ls 1
318 (on systems that support symbolic links).
319 This is the default if the environment variable
320 .Ev POSIXLY_CORRECT
321 is defined.
322 .It Fl m , Fl Fl magic-file Ar magicfiles
323 Specify an alternate list of files and directories containing magic.
324 This can be a single item, or a colon-separated list.
325 If a compiled magic file is found alongside a file or directory,
326 it will be used instead.
327 .It Fl N , Fl Fl no-pad
328 Don't pad filenames so that they align in the output.
329 .It Fl n , Fl Fl no-buffer
330 Force stdout to be flushed after checking each file.
331 This is only useful if checking a list of files.
332 It is intended to be used by programs that want filetype output from a pipe.
333 .It Fl p , Fl Fl preserve-date
334 On systems that support
335 .Xr utime 3
336 or
337 .Xr utimes 2 ,
338 attempt to preserve the access time of files analyzed, to pretend that
339 .Nm
340 never read them.
341 .It Fl P , Fl Fl parameter Ar name=value
342 Set various parameter limits.
343 .Bl -column "elf_phnum" "Default" "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
344 .It Sy "Name" Ta Sy "Default" Ta Sy "Explanation"
345 .It Li bytes Ta 1M Ta max number of bytes to read from file
346 .It Li elf_notes Ta 256 Ta max ELF notes processed
347 .It Li elf_phnum Ta 2K Ta max ELF program sections processed
348 .It Li elf_shnum Ta 32K Ta max ELF sections processed
349 .It Li elf_shsize Ta 128MB Ta max ELF section size processed
350 .It Li encoding Ta 65K Ta max number of bytes to determine encoding
351 .It Li indir Ta 50 Ta recursion limit for indirect magic
352 .It Li name Ta 100 Ta use count limit for name/use magic
353 .It Li regex Ta 8K Ta length limit for regex searches
354 .El
355 .It Fl r , Fl Fl raw
356 Don't translate unprintable characters to \eooo.
357 Normally
358 .Nm
359 translates unprintable characters to their octal representation.
360 .It Fl s , Fl Fl special-files
361 Normally,
362 .Nm
363 only attempts to read and determine the type of argument files which
364 .Xr stat 2
365 reports are ordinary files.
366 This prevents problems, because reading special files may have peculiar
367 consequences.
368 Specifying the
369 .Fl s
370 option causes
371 .Nm
372 to also read argument files which are block or character special files.
373 This is useful for determining the filesystem types of the data in raw
374 disk partitions, which are block special files.
375 This option also causes
376 .Nm
377 to disregard the file size as reported by
378 .Xr stat 2
379 since on some systems it reports a zero size for raw disk partitions.
380 .It Fl S , Fl Fl no-sandbox
381 On systems where libseccomp
382 .Pa ( https://github.com/seccomp/libseccomp )
383 is available, the
384 .Fl S
385 option disables sandboxing which is enabled by default.
386 This option is needed for
387 .Nm
388 to execute external decompressing programs,
389 i.e. when the
390 .Fl z
391 option is specified and the built-in decompressors are not available.
392 On systems where sandboxing is not available, this option has no effect.
393 .Pp
394 .Em Note:
395 This Debian version of file was built without seccomp support, so this option
396 has no effect.
397 .It Fl v , Fl Fl version
398 Print the version of the program and exit.
399 .It Fl z , Fl Fl uncompress
400 Try to look inside compressed files.
401 .It Fl Z , Fl Fl uncompress-noreport
402 Try to look inside compressed files, but report information about the contents
403 only not the compression.
404 .It Fl 0 , Fl Fl print0
405 Output a null character
406 .Sq \e0
407 after the end of the filename.
408 Nice to
409 .Xr cut 1
410 the output.
411 This does not affect the separator, which is still printed.
412 .Pp
413 If this option is repeated more than once, then
414 .Nm
415 prints just the filename followed by a NUL followed by the description
416 (or ERROR: text) followed by a second NUL for each entry.
417 .It Fl -help
418 Print a help message and exit.
419 .El
420 .Sh ENVIRONMENT
421 The environment variable
422 .Ev MAGIC
423 can be used to set the default magic file name.
424 If that variable is set, then
425 .Nm
426 will not attempt to open
427 .Pa $HOME/.magic .
428 .Nm
429 adds
430 .Dq Pa .mgc
431 to the value of this variable as appropriate.
432 The environment variable
433 .Ev POSIXLY_CORRECT
434 controls (on systems that support symbolic links), whether
435 .Nm
436 will attempt to follow symlinks or not.
437 If set, then
438 .Nm
439 follows symlink, otherwise it does not.
440 This is also controlled by the
441 .Fl L
442 and
443 .Fl h
444 options.
445 .Sh FILES
446 .Bl -tag -width /usr/share/misc/magic.mgc -compact
447 .It Pa /usr/share/misc/magic.mgc
448 Default compiled list of magic.
449 .It Pa /usr/share/misc/magic
450 Directory containing default magic files.
451 .El
452 .Sh EXIT STATUS
453 .Nm
454 will exit with
455 .Dv 0
456 if the operation was successful or
457 .Dv >0
458 if an error was encountered.
459 The following errors cause diagnostic messages, but don't affect the program
460 exit code (as POSIX requires), unless
461 .Fl E
462 is specified:
463 .Bl -bullet -compact -offset indent
464 .It
465 A file cannot be found
466 .It
467 There is no permission to read a file
468 .It
469 The file type cannot be determined
470 .El
471 .Sh EXAMPLES
472 .Bd -literal -offset indent
473 $ file file.c file /dev/{wd0a,hda}
474 file.c: C program text
475 file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
476 dynamically linked (uses shared libs), stripped
477 /dev/wd0a: block special (0/0)
478 /dev/hda: block special (3/0)
479
480 $ file -s /dev/wd0{b,d}
481 /dev/wd0b: data
482 /dev/wd0d: x86 boot sector
483
484 $ file -s /dev/hda{,1,2,3,4,5,6,7,8,9,10}
485 /dev/hda: x86 boot sector
486 /dev/hda1: Linux/i386 ext2 filesystem
487 /dev/hda2: x86 boot sector
488 /dev/hda3: x86 boot sector, extended partition table
489 /dev/hda4: Linux/i386 ext2 filesystem
490 /dev/hda5: Linux/i386 swap file
491 /dev/hda6: Linux/i386 swap file
492 /dev/hda7: Linux/i386 swap file
493 /dev/hda8: Linux/i386 swap file
494 /dev/hda9: empty
495 /dev/hda10: empty
496
497 $ file -i file.c file /dev/{wd0a,hda}
498 file.c: text/x-c
499 file: application/x-executable
500 /dev/hda: application/x-not-regular-file
501 /dev/wd0a: application/x-not-regular-file
502
503 .Ed
504 .Sh SEE ALSO
505 .Xr hexdump 1 ,
506 .Xr od 1 ,
507 .Xr strings 1 ,
508 .Xr magic 5
509 .Sh STANDARDS CONFORMANCE
510 This program is believed to exceed the System V Interface Definition
511 of FILE(CMD), as near as one can determine from the vague language
512 contained therein.
513 Its behavior is mostly compatible with the System V program of the same name.
514 This version knows more magic, however, so it will produce
515 different (albeit more accurate) output in many cases.
516 .\" URL: http://www.opengroup.org/onlinepubs/009695399/utilities/file.html
517 .Pp
518 The one significant difference
519 between this version and System V
520 is that this version treats any white space
521 as a delimiter, so that spaces in pattern strings must be escaped.
522 For example,
523 .Bd -literal -offset indent
524 \*[Gt]10 string language impress\ (imPRESS data)
525 .Ed
526 .Pp
527 in an existing magic file would have to be changed to
528 .Bd -literal -offset indent
529 \*[Gt]10 string language\e impress (imPRESS data)
530 .Ed
531 .Pp
532 In addition, in this version, if a pattern string contains a backslash,
533 it must be escaped.
534 For example
535 .Bd -literal -offset indent
536 0 string \ebegindata Andrew Toolkit document
537 .Ed
538 .Pp
539 in an existing magic file would have to be changed to
540 .Bd -literal -offset indent
541 0 string \e\ebegindata Andrew Toolkit document
542 .Ed
543 .Pp
544 SunOS releases 3.2 and later from Sun Microsystems include a
545 .Nm
546 command derived from the System V one, but with some extensions.
547 This version differs from Sun's only in minor ways.
548 It includes the extension of the
549 .Sq \*[Am]
550 operator, used as,
551 for example,
552 .Bd -literal -offset indent
553 \*[Gt]16 long\*[Am]0x7fffffff \*[Gt]0 not stripped
554 .Ed
555 .Sh SECURITY
556 On systems where libseccomp
557 .Pa ( https://github.com/seccomp/libseccomp )
558 is available,
559 .Nm
560 is enforces limiting system calls to only the ones necessary for the
561 operation of the program.
562 This enforcement does not provide any security benefit when
563 .Nm
564 is asked to decompress input files running external programs with
565 the
566 .Fl z
567 option.
568 To enable execution of external decompressors, one needs to disable
569 sandboxing using the
570 .Fl S
571 option.
572 .Sh MAGIC DIRECTORY
573 The magic file entries have been collected from various sources,
574 mainly USENET, and contributed by various authors.
575 Christos Zoulas (address below) will collect additional
576 or corrected magic file entries.
577 A consolidation of magic file entries
578 will be distributed periodically.
579 .Pp
580 The order of entries in the magic file is significant.
581 Depending on what system you are using, the order that
582 they are put together may be incorrect.
583 .Sh HISTORY
584 There has been a
585 .Nm
586 command in every
587 .Dv UNIX since at least Research Version 4
588 (man page dated November, 1973).
589 The System V version introduced one significant major change:
590 the external list of magic types.
591 This slowed the program down slightly but made it a lot more flexible.
592 .Pp
593 This program, based on the System V version,
594 was written by Ian Darwin
595 .Aq [email protected]
596 without looking at anybody else's source code.
597 .Pp
598 John Gilmore revised the code extensively, making it better than
599 the first version.
600 Geoff Collyer found several inadequacies
601 and provided some magic file entries.
602 Contributions of the
603 .Sq \*[Am]
604 operator by Rob McMahon,
605 .Aq [email protected] ,
606 1989.
607 .Pp
608 Guy Harris,
609 .Aq [email protected] ,
610 made many changes from 1993 to the present.
611 .Pp
612 Primary development and maintenance from 1990 to the present by
613 Christos Zoulas
614 .Aq [email protected] .
615 .Pp
616 Altered by Chris Lowth
617 .Aq [email protected] ,
618 2000: handle the
619 .Fl i
620 option to output mime type strings, using an alternative
621 magic file and internal logic.
622 .Pp
623 Altered by Eric Fischer
624 .Aq [email protected] ,
625 July, 2000,
626 to identify character codes and attempt to identify the languages
627 of non-ASCII files.
628 .Pp
629 Altered by Reuben Thomas
630 .Aq [email protected] ,
631 2007-2011, to improve MIME support, merge MIME and non-MIME magic,
632 support directories as well as files of magic, apply many bug fixes,
633 update and fix a lot of magic, improve the build system, improve the
634 documentation, and rewrite the Python bindings in pure Python.
635 .Pp
636 The list of contributors to the
637 .Sq magic
638 directory (magic files)
639 is too long to include here.
640 You know who you are; thank you.
641 Many contributors are listed in the source files.
642 .Sh LEGAL NOTICE
643 Copyright (c) Ian F. Darwin, Toronto, Canada, 1986-1999.
644 Covered by the standard Berkeley Software Distribution copyright; see the file
645 COPYING in the source distribution.
646 .Pp
647 The files
648 .Pa tar.h
649 and
650 .Pa is_tar.c
651 were written by John Gilmore from his public-domain
652 .Xr tar 1
653 program, and are not covered by the above license.
654 .Sh BUGS
655 Please report bugs and send patches to the bug tracker at
656 .Pa https://bugs.astron.com/
657 or the mailing list at
658 .Aq [email protected]
659 (visit
660 .Pa https://mailman.astron.com/mailman/listinfo/file
661 first to subscribe).
662 .Sh TODO
663 Fix output so that tests for MIME and APPLE flags are not needed all
664 over the place, and actual output is only done in one place.
665 This needs a design.
666 Suggestion: push possible outputs on to a list, then pick the
667 last-pushed (most specific, one hopes) value at the end, or
668 use a default if the list is empty.
669 This should not slow down evaluation.
670 .Pp
671 The handling of
672 .Dv MAGIC_CONTINUE
673 and printing \e012- between entries is clumsy and complicated; refactor
674 and centralize.
675 .Pp
676 Some of the encoding logic is hard-coded in encoding.c and can be moved
677 to the magic files if we had a !:charset annotation.
678 .Pp
679 Continue to squash all magic bugs.
680 See Debian BTS for a good source.
681 .Pp
682 Store arbitrarily long strings, for example for %s patterns, so that
683 they can be printed out.
684 Fixes Debian bug #271672.
685 This can be done by allocating strings in a string pool, storing the
686 string pool at the end of the magic file and converting all the string
687 pointers to relative offsets from the string pool.
688 .Pp
689 Add syntax for relative offsets after current level (Debian bug #466037).
690 .Pp
691 Make file -ki work, i.e. give multiple MIME types.
692 .Pp
693 Add a zip library so we can peek inside Office2007 documents to
694 print more details about their contents.
695 .Pp
696 Add an option to print URLs for the sources of the file descriptions.
697 .Pp
698 Combine script searches and add a way to map executable names to MIME
699 types (e.g. have a magic value for !:mime which causes the resulting
700 string to be looked up in a table).
701 This would avoid adding the same magic repeatedly for each new
702 hash-bang interpreter.
703 .Pp
704 When a file descriptor is available, we can skip and adjust the buffer
705 instead of the hacky buffer management we do now.
706 .Pp
707 Fix
708 .Dq name
709 and
710 .Dq use
711 to check for consistency at compile time (duplicate
712 .Dq name ,
713 .Dq use
714 pointing to undefined
715 .Dq name
716 ).
717 Make
718 .Dq name
719 /
720 .Dq use
721 more efficient by keeping a sorted list of names.
722 Special-case ^ to flip endianness in the parser so that it does not
723 have to be escaped, and document it.
724 .Pp
725 If the offsets specified internally in the file exceed the buffer size
726 (
727 .Dv HOWMANY
728 variable in file.h), then we don't seek to that offset, but we give up.
729 It would be better if buffer managements was done when the file descriptor
730 is available so we can seek around the file.
731 One must be careful though because this has performance and thus security
732 considerations, because one can slow down things by repeatedly seeking.
733 .Pp
734 There is support now for keeping separate buffers and having offsets from
735 the end of the file, but the internal buffer management still needs an
736 overhaul.
737 .Sh AVAILABILITY
738 You can obtain the original author's latest version by anonymous FTP
739 on
740 .Pa ftp.astron.com
741 in the directory
742 .Pa /pub/file/file-X.YZ.tar.gz .