From d01bcc92f5a32fefadf28fa26cf12ece731fe374 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Thu, 27 May 2021 21:51:53 -0600 Subject: reflect new article arrangement --- blog/dst/a/shell_scripting.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'blog/dst/a/shell_scripting.html') 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 } -

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 exit will not only will finish the function code, but also the shell script that called it, instead use return plus an exit code to just exit the function.

Tags: -english, linux, notes, scripting, shell

+

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 exit will not only will finish the function code, but also the shell script that called it, instead use return plus an exit code to just exit the function.

+
+

By: David Luévano

-

Created: Sun, Mar 14, 2021 @ 05:57 UTC, edited: Mon, May 17, 2021 @ 20:58 UTC

+

Created: Sun, Mar 14, 2021 @ 05:57 UTC

+

Edited: Mon, May 17, 2021 @ 20:58 UTC

+ + +