From b90e8b56c77c19704af62a637fbec883b5eebd14 Mon Sep 17 00:00:00 2001 From: Aleksandar Jovanov Date: Sun, 14 May 2017 13:17:29 +0200 Subject: [PATCH] Fix function declaration syntax (#59) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cae412..575571f 100644 --- a/README.md +++ b/README.md @@ -998,7 +998,7 @@ ${#varname} # returns the length of the value of the variable as a character As in almost any programming language, you can use functions to group pieces of code in a more logical way or practice the divine art of recursion. Declaring a function is just a matter of writing function my_func { my_code }. Calling a function is just like calling another program, you just write its name. ```bash -functname() { +function name() { shell commands } ```