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
|
||||
|
||||
```sh
|
||||
echo "Current time: `date`"
|
||||
echo "You are running on `uname`"
|
||||
```
|
||||
|
||||
### Correct code
|
||||
|
||||
```sh
|
||||
echo "Current time: $(date)"
|
||||
echo "You are running on $(uname)"
|
||||
```
|
||||
|
||||
### Rationale
|
||||
|
Reference in New Issue
Block a user