pascal 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #------------------------------------------------------------------------------
  2. # $File: pascal,v 1.4 2022/07/30 16:53:06 christos Exp $
  3. # pascal: file(1) magic for Pascal source
  4. #
  5. 0 search/8192 (input, Pascal source text
  6. !:mime text/x-pascal
  7. #0 regex \^program Pascal source text
  8. #!:mime text/x-pascal
  9. #0 regex \^record Pascal source text
  10. #!:mime text/x-pascal
  11. # Free Pascal
  12. 0 string PPU Pascal unit
  13. >3 string x \b, version %s
  14. # From: Joerg Jenderek
  15. # URL: https://en.wikipedia.org/wiki/Dan_Bricklin
  16. 0 string/b Type
  17. # URL: https://dl.winworldpc.com/Dan%20Bricklins%20Demo%20II%20Version%202%20Manual.7z
  18. # Reference: http://mark0.net/download/triddefs_xml.7z/defs/d/dbd-v2.trid.xml
  19. >4 string D2 Dan Bricklin's Demo 2 demo
  20. #!:mime application/octet-stream
  21. !:ext dbd
  22. # URL: https://muhaz.org/turbo-pascal-download-details.html
  23. # From: Joerg Jenderek
  24. # Note: used by Turbo Pascal 5.5 TOUR.EXE
  25. >4 string T2 Turbo Pascal TOUR data
  26. #!:mime application/octet-stream
  27. !:mime application/x-borland-cbt
  28. !:ext cbt
  29. # WHAT iS THAT?
  30. #>4 string \040P Dan Bricklin's Demo 2 foo
  31. #!:mime application/octet-stream
  32. # _PPRINT.SG2 _PASCII.SG2
  33. #!:ext sg2
  34. # Reference: http://mark0.net/download/triddefs_xml.7z/defs/d/dbd-gen.trid.xml
  35. >4 default x Dan Bricklin's Demo demo (generic)
  36. #!:mime application/octet-stream
  37. !:ext dbd