varied.script 580 B

123456789101112131415161718192021
  1. #------------------------------------------------------------------------------
  2. # $File: varied.script,v 1.15 2022/10/18 13:01:30 christos Exp $
  3. # varied.script: file(1) magic for various interpreter scripts
  4. 0 string/wt #!\ a
  5. >&-1 string/T x %s script text executable
  6. !:strength / 3
  7. 0 string/wb #!\ a
  8. >&-1 string/T x %s script executable (binary data)
  9. !:strength / 3
  10. # using env
  11. 0 string/wt #!\ /usr/bin/env a
  12. >15 string/T >\0 %s script text executable
  13. !:strength / 6
  14. 0 string/wb #!\ /usr/bin/env a
  15. >15 string/T >\0 %s script executable (binary data)
  16. !:strength / 6