mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2006 (markdown)
@@ -3,13 +3,13 @@
|
|||||||
### Problematic code
|
### Problematic code
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo "Current time: `date`"
|
echo "You are running on `uname`"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Correct code
|
### Correct code
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo "Current time: $(date)"
|
echo "You are running on $(uname)"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Rationale
|
### Rationale
|
||||||
|
Reference in New Issue
Block a user