mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Updated SC2122 (markdown)
@@ -2,14 +2,14 @@
|
||||
|
||||
### Problematic code:
|
||||
|
||||
```sh
|
||||
[[ a <= b ]]
|
||||
```bash
|
||||
[[ a >= b ]]
|
||||
```
|
||||
|
||||
### Correct code:
|
||||
|
||||
```sh
|
||||
[[ ! a > b ]]
|
||||
```bash
|
||||
[[ ! a < b ]]
|
||||
```
|
||||
|
||||
### Rationale:
|
||||
|
Reference in New Issue
Block a user