Difference between revisions of "Set (Bash)"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
* <code>set -eo [[pipefail]] https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/</code>
 
* <code>set -eo [[pipefail]] https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/</code>
 
* <code>[[set -euo]] [[pipefail]]</code>
 
* <code>[[set -euo]] [[pipefail]]</code>
* <code>[[set -euxo]] [[pipefail]]</code>
+
* <code>[[set -euox]] [[pipefail]]</code>
  
  

Revision as of 01:10, 18 June 2022

Advertising: