Skip to content

Commit edc07bc

Browse files
authored
replace references to old logical operators (&&, ||) (nushell#1822)
1 parent fd730fd commit edc07bc

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

de/book/operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ Mathematische Operationen werden in der folgenden Reihenfolge ausgewertet (von d
5050
- Bitweises und (`bit-and`)
5151
- Bitweises xor (`bit-xor`)
5252
- Bitweises oder (`bit-or`)
53-
- Logisches und (`&&`, `and`)
53+
- Logisches und (`and`)
5454
- Logisches xor (`xor`)
55-
- Logisches oder (`||`, `or`)
55+
- Logisches oder (`or`)
5656
- Zuweisungs Operationen
5757

5858
```nu

es/book/matematicas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Los siguientes comparadores también se encuentran disponibles:
5656

5757
## Operadores Compuestos
5858

59-
Nushell también soporta `&&` y `||` para unir dos operaciones que regresen valores booleanos, usando `y` y `o` respectivamente. Por ejemplo: `ls | where name in ["uno" "dos" "tres"] && size > 10kb`
59+
Nushell también soporta `and` y `or` para unir dos operaciones que regresen valores booleanos. Por ejemplo: `ls | where name in ["uno" "dos" "tres"] and size > 10kb`
6060

6161
## Orden de operaciones
6262

ja/book/math.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ math mode では括弧を利用して数式をグループ化できます。こ
5858

5959
## 複合演算子
6060

61-
`&&``||`を使ってブーリアンを返す2つの操作を結合できます。例えば: `ls | where name in ["one" "two" "three"] && size > 10kb`
61+
`and``or`を使ってブーリアンを返す2つの操作を結合できます。例えば: `ls | where name in ["one" "two" "three"] and size > 10kb`

lang-guide/chapters/operators.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ Nushell provides support for these bitwise operators:
3434
- `not-in` - Not In / Not Contains (doesn't use regex)
3535
- `starts-with` - Starts With
3636
- `ends-with` - Ends With
37-
- `&&` - And
3837
- `and` - And
39-
- `||` - Or
4038
- `or` - Or
4139

4240
## Brackets

zh-CN/book/operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Nushell 支持以下常见的数学、逻辑和字符串操作的运算符:
2121
| `in` | 列表包含值 |
2222
| `not-in` | 列表不包含值 |
2323
| `not` | 逻辑取反 |
24-
| `&&`, `and` | 两个布尔值与运算 |
25-
| `\|\|`, `or` | 两个布尔值或运算 |
24+
| `and` | 两个布尔值与运算 |
25+
| `or` | 两个布尔值或运算 |
2626
| `//` | 整除并向下取整 |
2727
| `**` | 幂运算 |
2828
| `bit-or` | 按位或 |

0 commit comments

Comments
 (0)