We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fee50b commit a540e97Copy full SHA for a540e97
mkdocs/docs/HPC/linux-tutorial/common_pitfalls.md
@@ -54,14 +54,6 @@ A common pitfall is the (accidental) use of non-defined variables.
54
Contrary to what you may expect, this does *not* result in error
55
messages, but the variable is considered to be *empty* instead.
56
57
-This may lead to surprising results, for example:
58
-<pre><code>$ <b>export WORKDIR=/tmp/test</b>
59
-$ <b>pwd</b>
60
-/user/home/gent/vsc400/vsc40000
61
-$ <b>echo $HOME</b>
62
63
-</code></pre>
64
-
65
!!! tip
66
For job scripts, use `set -e -u` to avoid using empty variables accidentally.
67
0 commit comments