ssub online docs

This commit is contained in:
John Kerl 2018-04-28 11:23:27 -07:00
parent 01c9d6d306
commit 363c6aa64d
4 changed files with 45 additions and 30 deletions

View file

@ -327,11 +327,11 @@ OPTIONS
FUNCTION LIST
+ + - - * / // .+ .+ .- .- .* ./ .// % ** | ^ & ~ << >> bitcount == != =~ !=~
> >= < <= && || ^^ ! ? : . gsub strlen sub substr tolower toupper abs acos
acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp expm1 floor
invqnorm log log10 log1p logifit madd max mexp min mmul msub pow qnorm round
roundm sgn sin sinh sqrt tan tanh urand urand32 urandint dhms2fsec dhms2sec
fsec2dhms fsec2hms gmt2sec hms2fsec hms2sec sec2dhms sec2gmt sec2gmt
> >= < <= && || ^^ ! ? : . gsub strlen sub ssub substr tolower toupper abs
acos acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp expm1
floor invqnorm log log10 log1p logifit madd max mexp min mmul msub pow qnorm
round roundm sgn sin sinh sqrt tan tanh urand urand32 urandint dhms2fsec
dhms2sec fsec2dhms fsec2hms gmt2sec hms2fsec hms2sec sec2dhms sec2gmt sec2gmt
sec2gmtdate sec2hms strftime strptime systime is_absent is_bool is_boolean
is_empty is_empty_map is_float is_int is_map is_nonempty_map is_not_empty
is_not_map is_not_null is_null is_numeric is_present is_string
@ -1585,6 +1585,9 @@ FUNCTIONS FOR FILTER/PUT
(class=string #args=3): Example: '$name=sub($name, "old", "new")'
(replace once).
ssub
(class=string #args=3): Like sub but does no regexing. No characters are special.
substr
(class=string #args=3): substr(s,m,n) gives substring of s from 0-up position m to n
inclusive. Negative indices -len .. -1 alias to 0 .. len-1.
@ -2341,7 +2344,7 @@ SEE ALSO
2018-03-14 MILLER(1)
2018-04-28 MILLER(1)
</pre>
</div>
<p/>

View file

@ -133,11 +133,11 @@ OPTIONS
FUNCTION LIST
+ + - - * / // .+ .+ .- .- .* ./ .// % ** | ^ & ~ << >> bitcount == != =~ !=~
> >= < <= && || ^^ ! ? : . gsub strlen sub substr tolower toupper abs acos
acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp expm1 floor
invqnorm log log10 log1p logifit madd max mexp min mmul msub pow qnorm round
roundm sgn sin sinh sqrt tan tanh urand urand32 urandint dhms2fsec dhms2sec
fsec2dhms fsec2hms gmt2sec hms2fsec hms2sec sec2dhms sec2gmt sec2gmt
> >= < <= && || ^^ ! ? : . gsub strlen sub ssub substr tolower toupper abs
acos acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp expm1
floor invqnorm log log10 log1p logifit madd max mexp min mmul msub pow qnorm
round roundm sgn sin sinh sqrt tan tanh urand urand32 urandint dhms2fsec
dhms2sec fsec2dhms fsec2hms gmt2sec hms2fsec hms2sec sec2dhms sec2gmt sec2gmt
sec2gmtdate sec2hms strftime strptime systime is_absent is_bool is_boolean
is_empty is_empty_map is_float is_int is_map is_nonempty_map is_not_empty
is_not_map is_not_null is_null is_numeric is_present is_string
@ -1391,6 +1391,9 @@ FUNCTIONS FOR FILTER/PUT
(class=string #args=3): Example: '$name=sub($name, "old", "new")'
(replace once).
ssub
(class=string #args=3): Like sub but does no regexing. No characters are special.
substr
(class=string #args=3): substr(s,m,n) gives substring of s from 0-up position m to n
inclusive. Negative indices -len .. -1 alias to 0 .. len-1.
@ -2147,4 +2150,4 @@ SEE ALSO
2018-03-14 MILLER(1)
2018-04-28 MILLER(1)

View file

@ -2,12 +2,12 @@
.\" Title: mlr
.\" Author: [see the "AUTHOR" section]
.\" Generator: ./mkman.rb
.\" Date: 2018-03-14
.\" Date: 2018-04-28
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "MILLER" "1" "2018-03-14" "\ \&" "\ \&"
.TH "MILLER" "1" "2018-04-28" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Portability definitions
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -182,11 +182,11 @@ output separator to the given value.
.\}
.nf
+ + - - * / // .+ .+ .- .- .* ./ .// % ** | ^ & ~ << >> bitcount == != =~ !=~
> >= < <= && || ^^ ! ? : . gsub strlen sub substr tolower toupper abs acos
acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp expm1 floor
invqnorm log log10 log1p logifit madd max mexp min mmul msub pow qnorm round
roundm sgn sin sinh sqrt tan tanh urand urand32 urandint dhms2fsec dhms2sec
fsec2dhms fsec2hms gmt2sec hms2fsec hms2sec sec2dhms sec2gmt sec2gmt
> >= < <= && || ^^ ! ? : . gsub strlen sub ssub substr tolower toupper abs
acos acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp expm1
floor invqnorm log log10 log1p logifit madd max mexp min mmul msub pow qnorm
round roundm sgn sin sinh sqrt tan tanh urand urand32 urandint dhms2fsec
dhms2sec fsec2dhms fsec2hms gmt2sec hms2fsec hms2sec sec2dhms sec2gmt sec2gmt
sec2gmtdate sec2hms strftime strptime systime is_absent is_bool is_boolean
is_empty is_empty_map is_float is_int is_map is_nonempty_map is_not_empty
is_not_map is_not_null is_null is_numeric is_present is_string
@ -1993,6 +1993,15 @@ and string results in string compare.
.fi
.if n \{\
.RE
.SS "ssub"
.if n \{\
.RS 0
.\}
.nf
(class=string #args=3): Like sub but does no regexing. No characters are special.
.fi
.if n \{\
.RE
.SS "substr"
.if n \{\
.RS 0

View file

@ -1447,17 +1447,17 @@ Verbs:
Functions for the filter and put verbs:
+ + - - * / // .+ .+ .- .- .* ./ .// % ** | ^ &amp; ~ &lt;&lt; &gt;&gt; bitcount == != =~
!=~ &gt; &gt;= &lt; &lt;= &amp;&amp; || ^^ ! ? : . gsub strlen sub substr tolower toupper abs
acos acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp expm1
floor invqnorm log log10 log1p logifit madd max mexp min mmul msub pow qnorm
round roundm sgn sin sinh sqrt tan tanh urand urand32 urandint dhms2fsec
dhms2sec fsec2dhms fsec2hms gmt2sec hms2fsec hms2sec sec2dhms sec2gmt
sec2gmt sec2gmtdate sec2hms strftime strptime systime is_absent is_bool
is_boolean is_empty is_empty_map is_float is_int is_map is_nonempty_map
is_not_empty is_not_map is_not_null is_null is_numeric is_present is_string
asserting_absent asserting_bool asserting_boolean asserting_empty
asserting_empty_map asserting_float asserting_int asserting_map
asserting_nonempty_map asserting_not_empty asserting_not_map
!=~ &gt; &gt;= &lt; &lt;= &amp;&amp; || ^^ ! ? : . gsub strlen sub ssub substr tolower toupper
abs acos acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp
expm1 floor invqnorm log log10 log1p logifit madd max mexp min mmul msub pow
qnorm round roundm sgn sin sinh sqrt tan tanh urand urand32 urandint
dhms2fsec dhms2sec fsec2dhms fsec2hms gmt2sec hms2fsec hms2sec sec2dhms
sec2gmt sec2gmt sec2gmtdate sec2hms strftime strptime systime is_absent
is_bool is_boolean is_empty is_empty_map is_float is_int is_map
is_nonempty_map is_not_empty is_not_map is_not_null is_null is_numeric
is_present is_string asserting_absent asserting_bool asserting_boolean
asserting_empty asserting_empty_map asserting_float asserting_int
asserting_map asserting_nonempty_map asserting_not_empty asserting_not_map
asserting_not_null asserting_null asserting_numeric asserting_present
asserting_string boolean float fmtnum hexfmt int string typeof depth haskey
joink joinkv joinv leafcount length mapdiff mapexcept mapselect mapsum