Difference between revisions of "Set -e"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
  [[set]] -e or [[set -o]] errexit
+
  [[set]] -e or [[set -o]] [[errexit]]
  
 
  -e  Exit immediately if a command exits with a [[non-zero status]].
 
  -e  Exit immediately if a command exits with a [[non-zero status]].
Line 22: Line 22:
 
* <code>[[set -E]]</code>
 
* <code>[[set -E]]</code>
 
* <code>[[set -eu]]</code>
 
* <code>[[set -eu]]</code>
[[bash -e]]
+
* [[bash -e]]
 +
* [[continue-on-error:]]
  
 
== See also ==
 
== See also ==
 +
* {{set -o}}
 +
* {{set -e}}
 
* {{set}}
 
* {{set}}
* {{Bash}}
 
  
 
[[Category:Bash]]
 
[[Category:Bash]]

Latest revision as of 14:47, 25 August 2024

Advertising: