mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
Misc. codespell findings (#1628)
This commit is contained in:
parent
1015f18e7b
commit
73e2117b43
19 changed files with 28 additions and 28 deletions
|
|
@ -45,7 +45,7 @@ The `sort`, `head`, etc are called *verbs*. They're analogs of familiar command-
|
|||
<b>mlr --csv put '$rate = $units / $seconds' input.csv</b>
|
||||
</pre>
|
||||
|
||||
which allow you to succintly express your own logic.
|
||||
which allow you to succinctly express your own logic.
|
||||
|
||||
**Multiple domains:** People use Miller for data analysis, data science, software engineering, devops/system-administration, journalism, scientific research, and more.
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ GENMD-SHOW-COMMAND
|
|||
mlr --csv put '$rate = $units / $seconds' input.csv
|
||||
GENMD-EOF
|
||||
|
||||
which allow you to succintly express your own logic.
|
||||
which allow you to succinctly express your own logic.
|
||||
|
||||
**Multiple domains:** People use Miller for data analysis, data science, software engineering, devops/system-administration, journalism, scientific research, and more.
|
||||
|
||||
|
|
|
|||
|
|
@ -1077,7 +1077,7 @@ This is simply a copy of what you should see on running `man mlr` at a command p
|
|||
|
||||
1mfilter0m
|
||||
Usage: mlr filter [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically filter which
|
||||
Lets you use a domain-specific language to programatically filter which
|
||||
stream records will be output.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
|
|
@ -1535,7 +1535,7 @@ This is simply a copy of what you should see on running `man mlr` at a command p
|
|||
|
||||
1mput0m
|
||||
Usage: mlr put [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically alter stream records.
|
||||
Lets you use a domain-specific language to programatically alter stream records.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
Options:
|
||||
|
|
|
|||
|
|
@ -1056,7 +1056,7 @@
|
|||
|
||||
1mfilter0m
|
||||
Usage: mlr filter [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically filter which
|
||||
Lets you use a domain-specific language to programatically filter which
|
||||
stream records will be output.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
|
|
@ -1514,7 +1514,7 @@
|
|||
|
||||
1mput0m
|
||||
Usage: mlr put [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically alter stream records.
|
||||
Lets you use a domain-specific language to programatically alter stream records.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
Options:
|
||||
|
|
|
|||
|
|
@ -970,7 +970,7 @@ a,b,c
|
|||
</pre>
|
||||
<pre class="pre-non-highlight-in-pair">
|
||||
Usage: mlr filter [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically filter which
|
||||
Lets you use a domain-specific language to programatically filter which
|
||||
stream records will be output.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
|
|
@ -2306,7 +2306,7 @@ Options:
|
|||
</pre>
|
||||
<pre class="pre-non-highlight-in-pair">
|
||||
Usage: mlr put [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically alter stream records.
|
||||
Lets you use a domain-specific language to programatically alter stream records.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
Options:
|
||||
|
|
|
|||
|
|
@ -1056,7 +1056,7 @@
|
|||
|
||||
1mfilter0m
|
||||
Usage: mlr filter [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically filter which
|
||||
Lets you use a domain-specific language to programatically filter which
|
||||
stream records will be output.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
|
|
@ -1514,7 +1514,7 @@
|
|||
|
||||
1mput0m
|
||||
Usage: mlr put [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically alter stream records.
|
||||
Lets you use a domain-specific language to programatically alter stream records.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
Options:
|
||||
|
|
|
|||
|
|
@ -1319,7 +1319,7 @@ Options:
|
|||
.\}
|
||||
.nf
|
||||
Usage: mlr filter [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically filter which
|
||||
Lets you use a domain-specific language to programatically filter which
|
||||
stream records will be output.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
|
|
@ -1909,7 +1909,7 @@ Options:
|
|||
.\}
|
||||
.nf
|
||||
Usage: mlr put [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically alter stream records.
|
||||
Lets you use a domain-specific language to programatically alter stream records.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
Options:
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ package cli
|
|||
// o Default is to auto-unflatten at output.
|
||||
// o There is a --no-auto-unflatten for those who want it.
|
||||
//
|
||||
// * Overrriding these: if the last verb the user has explicitly provided is
|
||||
// * Overriding these: if the last verb the user has explicitly provided is
|
||||
// flatten, don't undo that by putting an unflatten right after.
|
||||
//
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -805,7 +805,7 @@ func (root *RootNode) BuildTripleForLoopNode(astNode *dsl.ASTNode) (*TripleForLo
|
|||
for i := 0; i < n-1; i++ {
|
||||
if continuationExpressionASTNode.Children[i].Type != dsl.NodeTypeAssignment {
|
||||
return nil, fmt.Errorf(
|
||||
"mlr: the non-final triple-for continutation statements must be assignments.",
|
||||
"mlr: the non-final triple-for continuation statements must be assignments.",
|
||||
)
|
||||
}
|
||||
precontinuationAssignment, err := root.BuildAssignmentNode(
|
||||
|
|
@ -822,11 +822,11 @@ func (root *RootNode) BuildTripleForLoopNode(astNode *dsl.ASTNode) (*TripleForLo
|
|||
if bareBooleanASTNode.Type != dsl.NodeTypeBareBoolean {
|
||||
if n == 1 {
|
||||
return nil, fmt.Errorf(
|
||||
"mlr: the triple-for continutation statement must be a bare boolean.",
|
||||
"mlr: the triple-for continuation statement must be a bare boolean.",
|
||||
)
|
||||
} else {
|
||||
return nil, fmt.Errorf(
|
||||
"mlr: the final triple-for continutation statement must be a bare boolean.",
|
||||
"mlr: the final triple-for continuation statement must be a bare boolean.",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ type RootNode struct {
|
|||
type NodeBuilder func(astNode *dsl.ASTNode) (IEvaluable, error)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
// This is for all statements and statemnt blocks within the CST.
|
||||
// This is for all statements and statement blocks within the CST.
|
||||
type IExecutable interface {
|
||||
Execute(state *runtime.State) (*BlockExitPayload, error)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ func (wb WorkaroundBuffer) String() string {
|
|||
// ----------------------------------------------------------------
|
||||
// BOM-stripping
|
||||
//
|
||||
// Some CSVs start with a "byte-order mark" which is the 3-byte sequene
|
||||
// Some CSVs start with a "byte-order mark" which is the 3-byte sequence
|
||||
// \xef\xbb\xbf". Any file with such contents trips up csv.Reader:
|
||||
//
|
||||
// * If a header line is not double-quoted then we can simply look at the first
|
||||
|
|
|
|||
|
|
@ -53,9 +53,9 @@ func transformerPutOrFilterUsage(
|
|||
) {
|
||||
fmt.Fprintf(o, "Usage: %s %s [options] {DSL expression}\n", "mlr", verb)
|
||||
if verb == "put" {
|
||||
fmt.Fprintf(o, "Lets you use a domain-specific language to progamatically alter stream records.\n")
|
||||
fmt.Fprintf(o, "Lets you use a domain-specific language to programatically alter stream records.\n")
|
||||
} else if verb == "filter" {
|
||||
fmt.Fprintf(o, "Lets you use a domain-specific language to progamatically filter which\n")
|
||||
fmt.Fprintf(o, "Lets you use a domain-specific language to programatically filter which\n")
|
||||
fmt.Fprintf(o, "stream records will be output.\n")
|
||||
}
|
||||
fmt.Fprintf(o, "See also: https://miller.readthedocs.io/en/latest/reference-verbs\n")
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ Options:
|
|||
================================================================
|
||||
filter
|
||||
Usage: mlr filter [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically filter which
|
||||
Lets you use a domain-specific language to programatically filter which
|
||||
stream records will be output.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
|
|
@ -666,7 +666,7 @@ Options:
|
|||
================================================================
|
||||
put
|
||||
Usage: mlr put [options] {DSL expression}
|
||||
Lets you use a domain-specific language to progamatically alter stream records.
|
||||
Lets you use a domain-specific language to programatically alter stream records.
|
||||
See also: https://miller.readthedocs.io/en/latest/reference-verbs
|
||||
|
||||
Options:
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the triple-for continutation statement must be a bare boolean.
|
||||
mlr: the triple-for continuation statement must be a bare boolean.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the final triple-for continutation statement must be a bare boolean.
|
||||
mlr: the final triple-for continuation statement must be a bare boolean.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the non-final triple-for continutation statements must be assignments.
|
||||
mlr: the non-final triple-for continuation statements must be assignments.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the non-final triple-for continutation statements must be assignments.
|
||||
mlr: the non-final triple-for continuation statements must be assignments.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the triple-for continutation statement must be a bare boolean.
|
||||
mlr: the triple-for continuation statement must be a bare boolean.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the non-final triple-for continutation statements must be assignments.
|
||||
mlr: the non-final triple-for continuation statements must be assignments.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue