exec.right 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. before exec1.sub: one two three
  2. calling exec1.sub
  3. aa bb cc dd ee
  4. after exec1.sub with args: 0
  5. after exec1.sub without args: 0
  6. after exec1.sub: one two three
  7. ./execscript: line 21: notthere: command not found
  8. 127
  9. /tmp/bash: notthere: No such file or directory
  10. 127
  11. /bin/sh: /bin/sh: cannot execute binary file
  12. 126
  13. ./execscript: line 40: /: Is a directory
  14. 126
  15. /: /: Is a directory
  16. 126
  17. ./execscript: line 47: .: /: is a directory
  18. 1
  19. 126
  20. 0
  21. this is bashenv
  22. ./exec3.sub: line 3: /tmp/bash-notthere: No such file or directory
  23. 127
  24. ./execscript: line 71: notthere: No such file or directory
  25. 127
  26. ./execscript: line 74: notthere: No such file or directory
  27. 127
  28. ./execscript: line 77: notthere: command not found
  29. 127
  30. this is sh
  31. this is sh
  32. unset
  33. ok
  34. 5
  35. ./exec5.sub: line 4: exec: bash-notthere: not found
  36. 127
  37. this is ohio-state
  38. 0
  39. 1
  40. 1
  41. 0
  42. 42
  43. 42
  44. 0
  45. 1
  46. 1
  47. 0
  48. 0
  49. 1
  50. 0
  51. 1
  52. testb
  53. expand_aliases on
  54. 1
  55. 1
  56. 1
  57. 1
  58. 0
  59. 0
  60. 0
  61. 0
  62. /usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:.
  63. cannot find cat in $TMPDIR
  64. cannot find cat with empty $PATH
  65. PATH = /usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:.
  66. cannot find cat in $TMPDIR with hash
  67. cannot find cat with empty $PATH with hash
  68. PATH = /usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:.
  69. trap -- 'echo foo $BASH_SUBSHELL' EXIT
  70. trap -- 'echo USR1 $BASHPID' SIGUSR1
  71. between
  72. trap -- 'echo foo $BASH_SUBSHELL' EXIT
  73. trap -- 'echo USR1 $BASHPID' SIGUSR1
  74. between 2
  75. trap -- 'echo foo $BASH_SUBSHELL' EXIT
  76. trap -- 'echo USR1 $BASHPID' SIGUSR1
  77. in subshell: 1
  78. in subshell pipeline: 1
  79. group pipeline: 1
  80. EXIT-group.1
  81. foo 0
  82. after
  83. exit code: 1
  84. exit code: 1
  85. exit code: 1
  86. exit code: 127
  87. exit code: 127
  88. exit code: 127
  89. a
  90. b
  91. c
  92. A
  93. B
  94. c
  95. d
  96. c
  97. d
  98. e
  99. x1
  100. x1a
  101. x2
  102. x2a
  103. x2b
  104. x3
  105. x3a
  106. x3b