Skip to content

Commit

Permalink
Fix typo in mlr put documentation (#1140)
Browse files Browse the repository at this point in the history
* Fix typo

* Build artifacts from previous commit
  • Loading branch information
johnkerl committed Dec 5, 2022
1 parent 089c26a commit 472223c
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docs/src/manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ MILLER(1) MILLER(1)
More example put expressions:
If-statements:
'if ($flag == true) { $quantity *= 10}'
'if ($x > 0.0 { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
'if ($x > 0.0) { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
Newly created fields can be read after being written:
'$new_field = $index**2; $qn = $quantity * $new_field'
Regex-replacement:
Expand Down Expand Up @@ -3288,5 +3288,5 @@ MILLER(1) MILLER(1)



2022-11-27 MILLER(1)
2022-12-05 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 @@ -1498,7 +1498,7 @@ MILLER(1) MILLER(1)
More example put expressions:
If-statements:
'if ($flag == true) { $quantity *= 10}'
'if ($x > 0.0 { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
'if ($x > 0.0) { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
Newly created fields can be read after being written:
'$new_field = $index**2; $qn = $quantity * $new_field'
Regex-replacement:
Expand Down Expand Up @@ -3267,4 +3267,4 @@ MILLER(1) MILLER(1)



2022-11-27 MILLER(1)
2022-12-05 MILLER(1)
2 changes: 1 addition & 1 deletion docs/src/reference-verbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2259,7 +2259,7 @@ Examples:
More example put expressions:
If-statements:
'if ($flag == true) { $quantity *= 10}'
'if ($x > 0.0 { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
'if ($x > 0.0) { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
Newly created fields can be read after being written:
'$new_field = $index**2; $qn = $quantity * $new_field'
Regex-replacement:
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/transformers/put_or_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Parser-info options:
More example put expressions:
If-statements:
'if ($flag == true) { $quantity *= 10}'
'if ($x > 0.0 { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
'if ($x > 0.0) { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
Newly created fields can be read after being written:
'$new_field = $index**2; $qn = $quantity * $new_field'
Regex-replacement:
Expand Down
4 changes: 2 additions & 2 deletions man/manpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ MILLER(1) MILLER(1)
More example put expressions:
If-statements:
'if ($flag == true) { $quantity *= 10}'
'if ($x > 0.0 { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
'if ($x > 0.0) { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
Newly created fields can be read after being written:
'$new_field = $index**2; $qn = $quantity * $new_field'
Regex-replacement:
Expand Down Expand Up @@ -3267,4 +3267,4 @@ MILLER(1) MILLER(1)



2022-11-27 MILLER(1)
2022-12-05 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-11-27
.\" Date: 2022-12-05
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "MILLER" "1" "2022-11-27" "\ \&" "\ \&"
.TH "MILLER" "1" "2022-12-05" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Portability definitions
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -1879,7 +1879,7 @@ Examples:
More example put expressions:
If-statements:
'if ($flag == true) { $quantity *= 10}'
'if ($x > 0.0 { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
'if ($x > 0.0) { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
Newly created fields can be read after being written:
'$new_field = $index**2; $qn = $quantity * $new_field'
Regex-replacement:
Expand Down
5 changes: 4 additions & 1 deletion scripts/early-multi-language-timings/Makefile.no-autoconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
all: catc catc0 catm catrust catgo catnim cutgo cutnim
#all: catc catc0 catm catrust catrust2 catgo catnim cutgo cutnim
all: catc catc0 catm catrust catgo cutgo
# catd cutd
allc: catc catc0 catm

Expand All @@ -12,6 +13,8 @@ catm: catm.c
# dmd -O catd.d
catrust: catrust.rs
rustc catrust.rs
catrust2: catrust2.rs
rustc catrust2.rs
catgo: catgo.go
go build catgo.go
catnim: catnim.nim
Expand Down
2 changes: 1 addition & 1 deletion test/cases/cli-help/0001/expout
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ Examples:
More example put expressions:
If-statements:
'if ($flag == true) { $quantity *= 10}'
'if ($x > 0.0 { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
'if ($x > 0.0) { $y=log10($x); $z=sqrt($y) } else {$y = 0.0; $z = 0.0}'
Newly created fields can be read after being written:
'$new_field = $index**2; $qn = $quantity * $new_field'
Regex-replacement:
Expand Down

0 comments on commit 472223c

Please sign in to comment.