From 4b51b414c62a1057660d6114c08bbbc62c8f482b Mon Sep 17 00:00:00 2001 From: JMARyA Date: Mon, 16 Sep 2024 10:02:15 +0200 Subject: [PATCH] update shell --- technology/applications/cli/Shell.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/technology/applications/cli/Shell.md b/technology/applications/cli/Shell.md index 20a775f..5de024f 100644 --- a/technology/applications/cli/Shell.md +++ b/technology/applications/cli/Shell.md @@ -2,7 +2,7 @@ obj: concept arch-wiki: https://wiki.archlinux.org/title/Command-line_shell wiki: https://en.wikipedia.org/wiki/Unix_shell -rev: 2024-09-05 +rev: 2024-09-16 --- # Shell @@ -341,6 +341,7 @@ done ### Functions You can define your own functions. The arguments you give to the functions can be accessed via `$1`, `$2`, `$n`, etc. The same way the arguments passed to a shell script can be accessed. +To get all passed in arguments as is use `$@`. ```shell greet() {