mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC1088 (markdown)
@@ -3,13 +3,16 @@
|
|||||||
### 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