diff options
Diffstat (limited to 'blog/dst/a/shell_scripting.html')
-rw-r--r-- | blog/dst/a/shell_scripting.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/blog/dst/a/shell_scripting.html b/blog/dst/a/shell_scripting.html index b7eb3c8..e1d04c9 100644 --- a/blog/dst/a/shell_scripting.html +++ b/blog/dst/a/shell_scripting.html @@ -264,10 +264,18 @@ function_name () { do_something } </code></pre> -<p>Functions can also take arguments and can access their individual arguments (each function will have a different “storage” for their arguments). Functions can also be nested. Here <code>exit</code> will not only will finish the function code, but also the shell script that called it, instead use <code>return</code> plus an exit code to just exit the function.</p> <p>Tags: -<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@linux.html">linux</a>, <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a>, <a href="https://blog.luevano.xyz/tag/@scripting.html">scripting</a>, <a href="https://blog.luevano.xyz/tag/@shell.html">shell</a></p> +<p>Functions can also take arguments and can access their individual arguments (each function will have a different “storage” for their arguments). Functions can also be nested. Here <code>exit</code> will not only will finish the function code, but also the shell script that called it, instead use <code>return</code> plus an exit code to just exit the function.</p> +<hr> +<div class="article-info"> <p>By: David LuĂ©vano</p> -<p>Created: Sun, Mar 14, 2021 @ 05:57 UTC, edited: Mon, May 17, 2021 @ 20:58 UTC</p> +<p>Created: Sun, Mar 14, 2021 @ 05:57 UTC</p> +<p>Edited: Mon, May 17, 2021 @ 20:58 UTC</p> +<div class="article-tags"> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@linux.html">linux</a>, <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a>, <a href="https://blog.luevano.xyz/tag/@scripting.html">scripting</a>, <a href="https://blog.luevano.xyz/tag/@shell.html">shell</a></p> +</div> + +</div> </main> <footer> |