From afab5343c41c974c79ff71701b41320831bf8cca Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 30 May 2026 19:54:06 +0100 Subject: [PATCH] doc: sample: add simple function example script --- doc/sample/function.bshell | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/sample/function.bshell diff --git a/doc/sample/function.bshell b/doc/sample/function.bshell new file mode 100644 index 0000000..b7325fa --- /dev/null +++ b/doc/sample/function.bshell @@ -0,0 +1,6 @@ +func test-function($name) { + echo "Hello, $name!" +} + +$x = "Jonh" +test-function $x