Update bash.md
This commit is contained in:
parent
3d839093e9
commit
d0381c2254
16
bash.md
16
bash.md
|
@ -363,13 +363,15 @@ Note that `[[` is actually a command/program that returns either `0` (true) or `
|
|||
| --- | --- |
|
||||
| `(( NUM < NUM ))` | Numeric conditions |
|
||||
|
||||
| Condition | Description |
|
||||
| --- | --- |
|
||||
| `[[ -o noclobber ]]` | If OPTIONNAME is enabled |
|
||||
| --- | --- |
|
||||
| `[[ ! EXPR ]]` | Not |
|
||||
| `[[ X && Y ]]` | And |
|
||||
| `[[ X || Y ]]` | Or |
|
||||
#### More conditions
|
||||
|
||||
| Condition | Description |
|
||||
| -------------------- | ------------------------ |
|
||||
| `[[ -o noclobber ]]` | If OPTIONNAME is enabled |
|
||||
| --- | --- |
|
||||
| `[[ ! EXPR ]]` | Not |
|
||||
| `[[ X && Y ]]` | And |
|
||||
| `[[ X || Y ]]` | Or |
|
||||
|
||||
### File conditions
|
||||
|
||||
|
|
Loading…
Reference in New Issue