Updated SC1010 (markdown)

koalaman
2017-10-26 09:51:34 -07:00
parent 80b5eff8a2
commit d3403c0b13

@@ -5,6 +5,11 @@
```
for f in *; do echo "$f" done
```
or
```
echo $f is done
```
### Correct code:
@@ -12,6 +17,13 @@ for f in *; do echo "$f" done
for f in *; do echo "$f"; done
```
or
```
echo "$f is done"
```
### Rationale:
`done` only works as a keyword when it's the first token of the command. If added after a command, it will just be the literal word "done".