Updated SC1064 (markdown)

Vidar Holen
2018-11-05 08:34:03 +08:00
parent adce4b31ae
commit cb26ccff7b

@@ -30,7 +30,7 @@ If you are trying to do something else, look up the syntax for what you are tryi
### Exceptions: ### 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() { foo() {
for i; do :; done for i; do :; done