mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC1088 (markdown)
10
SC1088.md
10
SC1088.md
@@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
### Problematic code:
|
### Problematic code:
|
||||||
|
|
||||||
```sh
|
|
||||||
grep ^(.*)\1$ file
|
grep '^(.*)\1$' file
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
```sh
|
|
||||||
var = myfunction(value)
|
var=$(myfunction value)
|
||||||
```
|
|
||||||
|
|
||||||
### Correct code:
|
### Correct code:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user