From cb26ccff7b02e404b3a17e22f2c00c1483716f38 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Mon, 5 Nov 2018 08:34:03 +0800 Subject: [PATCH] Updated SC1064 (markdown) --- SC1064.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC1064.md b/SC1064.md index 383ef64..a0299cd 100644 --- a/SC1064.md +++ b/SC1064.md @@ -30,7 +30,7 @@ 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 :; done`. Since this usage is rare, ShellCheck requires the body to be {} (or ()): +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 intentionally requires the body to be `{ ..; }` (or `( ..; )`): foo() { for i; do :; done