varied.script 959 B

12345678910111213141516171819202122232425262728293031
  1. #------------------------------------------------------------------------------
  2. # $File: varied.script,v 1.9 2011/12/16 16:32:48 rrt 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/t #!\t/ a
  8. >3 string >\0 %s script text executable
  9. !:strength / 2
  10. 0 string/t #!/ a
  11. >2 string >\0 %s script text executable
  12. !:strength / 2
  13. 0 string/t #!\ script text executable
  14. >3 string >\0 for %s
  15. !:strength / 3
  16. # using env
  17. 0 string/t #!/usr/bin/env a
  18. >15 string/t >\0 %s script text executable
  19. !:strength / 10
  20. 0 string/t #!\ /usr/bin/env a
  21. >16 string/t >\0 %s script text executable
  22. !:strength / 10
  23. # From: arno <arenevier@fdn.fr>
  24. # mozilla xpconnect typelib
  25. # see http://www.mozilla.org/scriptable/typelib_file.html
  26. 0 string XPCOM\nTypeLib\r\n\032 XPConnect Typelib
  27. >0x10 byte x version %d
  28. >>0x11 byte x \b.%d