From 2fa278cd798bd72a9dafbd41876bb1aea711e9b3 Mon Sep 17 00:00:00 2001 From: koalaman Date: Tue, 18 Oct 2016 14:05:55 -0700 Subject: [PATCH] Updated SC1064 (markdown) --- SC1064.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC1064.md b/SC1064.md index 751a354..f2f4be2 100644 --- a/SC1064.md +++ b/SC1064.md @@ -30,4 +30,4 @@ If you are trying to do something else, look up the syntax for what you are tryi ### Exceptions: -POSIX allows the body of a function to be any compound command, e.g. `foo() for i; do echo $i; done`. Since this usage is rare, ShellCheck requires the body to be {} (or ()). This additional structure requirement helps improve error messages and suggestions by not parsing down a path that less advanced users wouldn't expect. \ No newline at end of file +POSIX allows the body of a function to be any compound command, e.g. `foo() for i; do :; done`. Since this usage is rare, ShellCheck requires the body to be {} (or ()). This additional structure requirement helps improve error messages and suggestions by not parsing down a path that less advanced users wouldn't expect. \ No newline at end of file