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 |
|
| `(( NUM < NUM ))` | Numeric conditions |
|
||||||
|
|
||||||
| Condition | Description |
|
#### More conditions
|
||||||
| --- | --- |
|
|
||||||
| `[[ -o noclobber ]]` | If OPTIONNAME is enabled |
|
| Condition | Description |
|
||||||
| --- | --- |
|
| -------------------- | ------------------------ |
|
||||||
| `[[ ! EXPR ]]` | Not |
|
| `[[ -o noclobber ]]` | If OPTIONNAME is enabled |
|
||||||
| `[[ X && Y ]]` | And |
|
| --- | --- |
|
||||||
| `[[ X || Y ]]` | Or |
|
| `[[ ! EXPR ]]` | Not |
|
||||||
|
| `[[ X && Y ]]` | And |
|
||||||
|
| `[[ X || Y ]]` | Or |
|
||||||
|
|
||||||
### File conditions
|
### File conditions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue