Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in on-line help for splitax DSL function #964

Merged
merged 2 commits into from
Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,7 @@ FUNCTIONS FOR FILTER/PUT
splitax
(class=conversion #args=2) Splits string into array without type inference. First argument is string to split; second is the separator to split on.
Example:
splita("3,4,5", ",") = ["3","4","5"]
splitax("3,4,5", ",") = ["3","4","5"]

splitkv
(class=conversion #args=3) Splits string by separators into map with type inference. First argument is string to split; second argument is pair separator; third argument is field separator.
Expand Down Expand Up @@ -3187,5 +3187,5 @@ SEE ALSO



2022-02-21 MILLER(1)
2022-02-24 MILLER(1)
</pre>
4 changes: 2 additions & 2 deletions docs/src/manpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2513,7 +2513,7 @@ FUNCTIONS FOR FILTER/PUT
splitax
(class=conversion #args=2) Splits string into array without type inference. First argument is string to split; second is the separator to split on.
Example:
splita("3,4,5", ",") = ["3","4","5"]
splitax("3,4,5", ",") = ["3","4","5"]

splitkv
(class=conversion #args=3) Splits string by separators into map with type inference. First argument is string to split; second argument is pair separator; third argument is field separator.
Expand Down Expand Up @@ -3166,4 +3166,4 @@ SEE ALSO



2022-02-21 MILLER(1)
2022-02-24 MILLER(1)
2 changes: 1 addition & 1 deletion docs/src/reference-dsl-builtin-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ splita("3,4,5", ",") = [3,4,5]
<pre class="pre-non-highlight-non-pair">
splitax (class=conversion #args=2) Splits string into array without type inference. First argument is string to split; second is the separator to split on.
Example:
splita("3,4,5", ",") = ["3","4","5"]
splitax("3,4,5", ",") = ["3","4","5"]
</pre>


Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/dsl/cst/builtin_function_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ second is the separator to split on.`,
help: `Splits string into array without type inference. First argument is string to split;
second is the separator to split on.`,
examples: []string{
`splita("3,4,5", ",") = ["3","4","5"]`,
`splitax("3,4,5", ",") = ["3","4","5"]`,
},
binaryFunc: bifs.BIF_splitax,
},
Expand Down
4 changes: 2 additions & 2 deletions man/manpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2513,7 +2513,7 @@ FUNCTIONS FOR FILTER/PUT
splitax
(class=conversion #args=2) Splits string into array without type inference. First argument is string to split; second is the separator to split on.
Example:
splita("3,4,5", ",") = ["3","4","5"]
splitax("3,4,5", ",") = ["3","4","5"]

splitkv
(class=conversion #args=3) Splits string by separators into map with type inference. First argument is string to split; second argument is pair separator; third argument is field separator.
Expand Down Expand Up @@ -3166,4 +3166,4 @@ SEE ALSO



2022-02-21 MILLER(1)
2022-02-24 MILLER(1)
6 changes: 3 additions & 3 deletions man/mlr.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: mlr
.\" Author: [see the "AUTHOR" section]
.\" Generator: ./mkman.rb
.\" Date: 2022-02-21
.\" Date: 2022-02-24
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "MILLER" "1" "2022-02-21" "\ \&" "\ \&"
.TH "MILLER" "1" "2022-02-24" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Portability definitions
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -3878,7 +3878,7 @@ splita("3,4,5", ",") = [3,4,5]
.nf
(class=conversion #args=2) Splits string into array without type inference. First argument is string to split; second is the separator to split on.
Example:
splita("3,4,5", ",") = ["3","4","5"]
splitax("3,4,5", ",") = ["3","4","5"]
.fi
.if n \{\
.RE
Expand Down