varied.script 621 B

123456789101112131415161718192021222324
  1. #------------------------------------------------------------------------------
  2. # $File: varied.script,v 1.16 2024/02/04 19:26:02 christos Exp $
  3. # varied.script: file(1) magic for various interpreter scripts
  4. 0 string #![ Rust Source file
  5. !:ext rs
  6. 0 string/wt #!\ a
  7. >&-1 string/T x %s script text executable
  8. !:strength / 3
  9. 0 string/wb #!\ a
  10. >&-1 string/T x %s script executable (binary data)
  11. !:strength / 3
  12. # using env
  13. 0 string/wt #!\ /usr/bin/env a
  14. >15 string/T >\0 %s script text executable
  15. !:strength / 6
  16. 0 string/wb #!\ /usr/bin/env a
  17. >15 string/T >\0 %s script executable (binary data)
  18. !:strength / 6