From dc066dc18f2097aae2036fb1b06c54a1d2a02103 Mon Sep 17 00:00:00 2001 From: Tamas Papp <2580497+tomposmiko@users.noreply.github.com> Date: Fri, 15 Mar 2024 14:26:36 +0100 Subject: [PATCH] Remove redundant syntax (#2111) Either use the `function` or `()` but not both, it's redundant. --- bash.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash.md b/bash.md index 36a5f9c6a7..dec1310281 100644 --- a/bash.md +++ b/bash.md @@ -328,7 +328,7 @@ myfunc() { ```bash # Same as above (alternate syntax) -function myfunc() { +function myfunc { echo "hello $1" } ```