commands 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #------------------------------------------------------------------------------
  2. # commands: file(1) magic for various shells and interpreters
  3. #
  4. 0 string :\ shell archive or commands for antique kernel text
  5. 0 string #!/bin/sh Bourne shell script text
  6. 0 string #!\ /bin/sh Bourne shell script text
  7. 0 string #!/bin/csh C shell script text
  8. 0 string #!\ /bin/csh C shell script text
  9. # korn shell magic, sent by George Wu, gwu@clyde.att.com
  10. 0 string #!/bin/ksh Korn shell script text
  11. 0 string #!\ /bin/ksh Korn shell script text
  12. 0 string #!/bin/tcsh Tenex C shell script text
  13. 0 string #!\ /bin/tcsh Tenex C shell script text
  14. 0 string #!/usr/local/tcsh Tenex C shell script text
  15. 0 string #!\ /usr/local/tcsh Tenex C shell script text
  16. 0 string #!/usr/local/bin/tcsh Tenex C shell script text
  17. 0 string #!\ /usr/local/bin/tcsh Tenex C shell script text
  18. #
  19. # zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson)
  20. 0 string #!/usr/local/bin/zsh Paul Falstad's zsh
  21. 0 string #!\ /usr/local/bin/zsh Paul Falstad's zsh
  22. 0 string #!/usr/local/bin/ash Neil Brown's ash
  23. 0 string #!\ /usr/local/bin/ash Neil Brown's ash
  24. 0 string #!/usr/local/bin/ae Neil Brown's ae
  25. 0 string #!\ /usr/local/bin/ae Neil Brown's ae
  26. 0 string #!/bin/nawk new awk script text
  27. 0 string #!\ /bin/nawk new awk script text
  28. 0 string #!/usr/bin/nawk new awk script text
  29. 0 string #!\ /usr/bin/nawk new awk script text
  30. 0 string #!/usr/local/bin/nawk new awk script text
  31. 0 string #!\ /usr/local/bin/nawk new awk script text
  32. 0 string #!/bin/gawk GNU awk script text
  33. 0 string #!\ /bin/gawk GNU awk script text
  34. 0 string #!/usr/bin/gawk GNU awk script text
  35. 0 string #!\ /usr/bin/gawk GNU awk script text
  36. 0 string #!/usr/local/bin/gawk GNU awk script text
  37. 0 string #!\ /usr/local/bin/gawk GNU awk script text
  38. #
  39. 0 string #!/bin/awk awk commands text
  40. 0 string #!\ /bin/awk awk commands text
  41. 0 string #!/usr/bin/awk awk commands text
  42. 0 string #!\ /usr/bin/awk awk commands text
  43. 0 string BEGIN awk commands text
  44. # For Larry Wall's perl language. The ``eval'' line recognizes an
  45. # outrageously clever hack for USG systems.
  46. # Keith Waclena <keith@cerberus.uchicago.edu>
  47. 0 string #!/bin/perl perl commands text
  48. 0 string #!\ /bin/perl perl commands text
  49. 0 string eval\ "exec\ /bin/perl perl commands text
  50. 0 string #!/usr/bin/perl perl commands text
  51. 0 string #!\ /usr/bin/perl perl commands text
  52. 0 string eval\ "exec\ /usr/bin/perl perl commands text
  53. 0 string #!/usr/local/bin/perl perl commands text
  54. 0 string #!\ /usr/local/bin/perl perl commands text
  55. 0 string eval\ "exec\ /usr/local/bin/perl perl commands text
  56. # AT&T Bell Labs' Plan 9 shell
  57. 0 string #!/bin/rc Plan 9 rc shell script text
  58. 0 string #!\ /bin/rc Plan 9 rc shell script text
  59. # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
  60. 0 string #!/bin/bash Bourne-Again shell script text
  61. 0 string #!\ /bin/bash Bourne-Again shell script text
  62. 0 string #!/usr/local/bin/bash Bourne-Again shell script text
  63. 0 string #!\ /usr/local/bin/bash Bourne-Again shell script text
  64. # generic shell magic
  65. 0 string #!\ / a
  66. >3 string >\0 %s script text
  67. 0 string #!/ a
  68. >2 string >\0 %s script text
  69. 0 string #!\ commands text
  70. >3 string >\0 for %s