0004-doc-manpages.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Description: FIXME
  2. Author: Michael Piefel <piefel@debian.org>
  3. Bug-Debian: https://bugs.debian.org/417511
  4. Last-Update: 2015-08-23
  5. --- a/doc/file.man
  6. +++ b/doc/file.man
  7. @@ -57,7 +57,7 @@
  8. or non-printable).
  9. Exceptions are well-known file formats (core files, tar archives)
  10. that are known to contain binary data.
  11. -When modifying magic files or the program itself, make sure to
  12. +When adding local definitions to /etc/magic, make sure to
  13. .Em "preserve these keywords" .
  14. Users depend on knowing that all the readable files in a directory
  15. have the word
  16. @@ -101,7 +101,8 @@
  17. has been applied by extension to data files.
  18. Any file with some invariant identifier at a small fixed
  19. offset into the file can usually be described in this way.
  20. -The information identifying these files is read from the compiled
  21. +The information identifying these files is read from /etc/magic
  22. +and the compiled
  23. magic file
  24. .Pa __MAGIC__.mgc ,
  25. or the files in the directory
  26. @@ -459,12 +460,6 @@
  27. The order of entries in the magic file is significant.
  28. Depending on what system you are using, the order that
  29. they are put together may be incorrect.
  30. -If your old
  31. -.Nm
  32. -command uses a magic file,
  33. -keep the old magic file around for comparison purposes
  34. -(rename it to
  35. -.Pa __MAGIC__.orig ) .
  36. .Sh EXAMPLES
  37. .Bd -literal -offset indent
  38. $ file file.c file /dev/{wd0a,hda}