mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC1042 (markdown)
@@ -1,6 +1,6 @@
|
|||||||
# Close matches include '-eof' (!= 'eof').
|
## Close matches include '-eof' (!= 'eof').
|
||||||
|
|
||||||
## Problematic code:
|
### Problematic code:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
@@ -9,7 +9,7 @@ Hello World
|
|||||||
-eof
|
-eof
|
||||||
```
|
```
|
||||||
|
|
||||||
## Correct code:
|
### Correct code:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
Reference in New Issue
Block a user