TODO 799 B

12345678910111213141516
  1. Most TODOs live in the TODO section of doc/file.man (i.e. file(1)).
  2. They are more visible there, so please add any further TODOs to that
  3. file, not here. More speculative material can live here.
  4. (This change was made when Reuben Thomas noticed that all the bugs
  5. listed in the BUGS section of the man page had been fixed!)
  6. ---
  7. It would be nice to simplify file considerably. For example,
  8. reimplement the apprentice and non-pattern magic methods in Python,
  9. and compile the magic patterns to a giant regex (or something similar)
  10. so that only a small amount of C is needed (because fast execution is
  11. typically only required for soft magic, not the more detailed
  12. information given by hard-wired routines). In this regard, note that
  13. hplip, which is BSD-licensed, has a magic reimplementation in Python.