0004-doc-manpages.patch 1.3 KB

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