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:
Leon
2022-11-10 15:49:11 +10:00
committed by GitHub
parent bb0d08a721
commit 921a66554e
55 changed files with 71 additions and 73 deletions

View File

@ -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
```