varied.script 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #------------------------------------------------------------------------------
  2. # $File: varied.script,v 1.10 2014/03/01 22:32:39 christos Exp $
  3. # varied.script: file(1) magic for various interpreter scripts
  4. 0 string/t #!\ / a
  5. >3 string >\0 %s script text executable
  6. !:strength / 2
  7. 0 string/b #!\ / a
  8. >3 string >\0 %s script executable (binary data)
  9. !:strength / 2
  10. 0 string/t #!\t/ a
  11. >3 string >\0 %s script text executable
  12. !:strength / 2
  13. 0 string/b #!\t/ a
  14. >3 string >\0 %s script executable (binary data)
  15. !:strength / 2
  16. 0 string/t #!/ a
  17. >2 string >\0 %s script text executable
  18. !:strength / 2
  19. 0 string/b #!/ a
  20. >2 string >\0 %s script executable (binary data)
  21. !:strength / 2
  22. 0 string/t #!\ script text executable
  23. >3 string >\0 for %s
  24. !:strength / 3
  25. 0 string/b #!\ script executable
  26. >3 string >\0 for %s (binary data)
  27. !:strength / 3
  28. # using env
  29. 0 string/t #!/usr/bin/env a
  30. >15 string/t >\0 %s script text executable
  31. !:strength / 10
  32. 0 string/b #!/usr/bin/env a
  33. >15 string/b >\0 %s script executable (binary data)
  34. !:strength / 10
  35. 0 string/t #!\ /usr/bin/env a
  36. >16 string/t >\0 %s script text executable
  37. !:strength / 10
  38. 0 string/b #!\ /usr/bin/env a
  39. >16 string/b >\0 %s script executable (binary data)
  40. !:strength / 10
  41. # From: arno <arenevier@fdn.fr>
  42. # mozilla xpconnect typelib
  43. # see http://www.mozilla.org/scriptable/typelib_file.html
  44. 0 string XPCOM\nTypeLib\r\n\032 XPConnect Typelib
  45. >0x10 byte x version %d
  46. >>0x11 byte x \b.%d