mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 16:05:01 +02:00
Replace all instances of 'column path' in help
messages with 'cell path' (#7063)
* Rewrite all 'column path' instances to 'cell path' * Minor tweak
This commit is contained in:
@ -313,9 +313,9 @@ tutor each
|
||||
|
||||
fn each_tutor() -> &'static str {
|
||||
r#"
|
||||
The `each` command gives us a way of working with each individual row or
|
||||
element of a list one at a time. It reads these in from the pipeline and
|
||||
runs a block on each element. A block is a group of pipelines.
|
||||
The `each` command gives us a way of working with the individual elements
|
||||
(sometimes called 'rows') of a list one at a time. It reads these in from
|
||||
the pipeline and runs a block on each one. A block is a group of pipelines.
|
||||
```
|
||||
echo 1 2 3 | each { |it| $it + 10}
|
||||
```
|
||||
@ -375,9 +375,9 @@ second block if the expression is false.
|
||||
|
||||
fn shorthand_tutor() -> &'static str {
|
||||
r#"
|
||||
You can access cells in a table using a shorthand notation sometimes called a
|
||||
"column path" or "cell path". These paths allow you to go from a table to
|
||||
rows, columns, or cells inside of the table.
|
||||
You can access data in a structure via a shorthand notation called a "cell path",
|
||||
sometimes called a "column path". These paths allow you to go from a structure to
|
||||
rows, columns, or cells inside of the structure.
|
||||
|
||||
Shorthand paths are made from rows numbers, column names, or both. You can use
|
||||
them on any variable or subexpression.
|
||||
@ -392,8 +392,8 @@ the shorthand path to retrieve only the cell data inside the "PWD" column.
|
||||
This will retrieve the cell data in the "name" column on the 5th row (note:
|
||||
row numbers are zero-based).
|
||||
|
||||
Rows and columns don't need to come in any specific order. You can get the
|
||||
same value using:
|
||||
For tables, rows and columns don't need to come in any specific order. You can
|
||||
produce the same value using:
|
||||
```
|
||||
(ls).4.name
|
||||
```
|
||||
|
Reference in New Issue
Block a user