mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2057 (markdown)
@@ -14,7 +14,9 @@
|
|||||||
|
|
||||||
### Rationale:
|
### Rationale:
|
||||||
|
|
||||||
You are using an unknown binary operator in a `test` expression. In bash, use `help test` to see a list of supported operators:
|
You are using an unknown binary operator in a `test` expression. Choose one that exists.
|
||||||
|
|
||||||
|
In bash, use `help test` to see a list of supported operators:
|
||||||
|
|
||||||
FILE1 -nt FILE2 True if file1 is newer than file2 (according to
|
FILE1 -nt FILE2 True if file1 is newer than file2 (according to
|
||||||
modification date).
|
modification date).
|
||||||
@@ -39,8 +41,6 @@ You are using an unknown binary operator in a `test` expression. In bash, use `h
|
|||||||
less-than, less-than-or-equal, greater-than, or greater-than-or-equal
|
less-than, less-than-or-equal, greater-than, or greater-than-or-equal
|
||||||
than ARG2.
|
than ARG2.
|
||||||
|
|
||||||
The operators
|
|
||||||
|
|
||||||
|
|
||||||
### Exceptions:
|
### Exceptions:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user