varied.script 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #------------------------------------------------------------------------------
  2. # $File: varied.script,v 1.11 2015/03/27 17:59: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. 0 string/b #!\ / a
  7. >3 string >\0 %s script executable (binary data)
  8. 0 string/t #!\t/ a
  9. >3 string >\0 %s script text executable
  10. 0 string/b #!\t/ a
  11. >3 string >\0 %s script executable (binary data)
  12. 0 string/t #!/ a
  13. >2 string >\0 %s script text executable
  14. 0 string/b #!/ a
  15. >2 string >\0 %s script executable (binary data)
  16. 0 string/t #!\ script text executable
  17. >3 string >\0 for %s
  18. 0 string/b #!\ script executable
  19. >3 string >\0 for %s (binary data)
  20. # using env
  21. 0 string/t #!/usr/bin/env a
  22. >15 string/t >\0 %s script text executable
  23. !:strength / 10
  24. 0 string/b #!/usr/bin/env a
  25. >15 string/b >\0 %s script executable (binary data)
  26. !:strength / 10
  27. 0 string/t #!\ /usr/bin/env a
  28. >16 string/t >\0 %s script text executable
  29. !:strength / 10
  30. 0 string/b #!\ /usr/bin/env a
  31. >16 string/b >\0 %s script executable (binary data)
  32. !:strength / 10
  33. # From: arno <arenevier@fdn.fr>
  34. # mozilla xpconnect typelib
  35. # see http://www.mozilla.org/scriptable/typelib_file.html
  36. 0 string XPCOM\nTypeLib\r\n\032 XPConnect Typelib
  37. >0x10 byte x version %d
  38. >>0x11 byte x \b.%d