mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
parent
c88142a9e2
commit
0395cbddc6
5 changed files with 38 additions and 14 deletions
|
|
@ -218,8 +218,8 @@
|
|||
capitalize cbrt ceil clean_whitespace collapse_whitespace concat contains cos
|
||||
cosh count depth dhms2fsec dhms2sec distinct_count erf erfc every exec exp
|
||||
expm1 flatten float floor fmtifnum fmtnum fold format fsec2dhms fsec2hms
|
||||
get_keys get_values gmt2localtime gmt2nsec gmt2sec gssub gsub haskey hexfmt
|
||||
hms2fsec hms2sec hostname index int invqnorm is_absent is_array is_bool
|
||||
get_keys get_values gmt2localtime gmt2nsec gmt2sec gssub gsub haskey hasvalue
|
||||
hexfmt hms2fsec hms2sec hostname index int invqnorm is_absent is_array is_bool
|
||||
is_boolean is_empty is_empty_map is_error is_float is_int is_map is_nan
|
||||
is_nonempty_map is_not_array is_not_empty is_not_map is_not_null is_null
|
||||
is_numeric is_present is_string joink joinkv joinv json_parse json_stringify
|
||||
|
|
@ -2563,6 +2563,9 @@
|
|||
1mhaskey0m
|
||||
(class=collections #args=2) True/false if map has/hasn't key, e.g. 'haskey($*, "a")' or 'haskey(mymap, mykey)', or true/false if array index is in bounds / out of bounds. Error if 1st argument is not a map or array. Note -n..-1 alias to 1..n in Miller arrays.
|
||||
|
||||
1mhasvalue0m
|
||||
(class=collections #args=2) True/false if map/array has/hasn't value, e.g. 'hasvalue($*, "a")' or 'hasvalue(myarray, myvalue)', returns true if the value is present in the collection. Error if 1st argument is not a map or array.
|
||||
|
||||
1mhexfmt0m
|
||||
(class=conversion #args=1) Convert int to hex string, e.g. 255 to "0xff".
|
||||
|
||||
|
|
@ -3799,4 +3802,4 @@
|
|||
MIME Type for Comma-Separated Values (CSV) Files, the Miller docsite
|
||||
https://miller.readthedocs.io
|
||||
|
||||
2026-03-16 4mMILLER24m(1)
|
||||
2026-04-08 4mMILLER24m(1)
|
||||
|
|
|
|||
17
man/mlr.1
17
man/mlr.1
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: mlr
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: ./mkman.rb
|
||||
.\" Date: 2026-03-16
|
||||
.\" Date: 2026-04-08
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "MILLER" "1" "2026-03-16" "\ \&" "\ \&"
|
||||
.TH "MILLER" "1" "2026-04-08" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Portability definitions
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
@ -267,8 +267,8 @@ asserting_present asserting_string atan atan2 atanh bitcount boolean
|
|||
capitalize cbrt ceil clean_whitespace collapse_whitespace concat contains cos
|
||||
cosh count depth dhms2fsec dhms2sec distinct_count erf erfc every exec exp
|
||||
expm1 flatten float floor fmtifnum fmtnum fold format fsec2dhms fsec2hms
|
||||
get_keys get_values gmt2localtime gmt2nsec gmt2sec gssub gsub haskey hexfmt
|
||||
hms2fsec hms2sec hostname index int invqnorm is_absent is_array is_bool
|
||||
get_keys get_values gmt2localtime gmt2nsec gmt2sec gssub gsub haskey hasvalue
|
||||
hexfmt hms2fsec hms2sec hostname index int invqnorm is_absent is_array is_bool
|
||||
is_boolean is_empty is_empty_map is_error is_float is_int is_map is_nan
|
||||
is_nonempty_map is_not_array is_not_empty is_not_map is_not_null is_null
|
||||
is_numeric is_present is_string joink joinkv joinv json_parse json_stringify
|
||||
|
|
@ -3594,6 +3594,15 @@ gsub("prefix4529:suffix8567", "(....ix)([0-9]+)", "[\e1 : \e2]") gives "[prefix
|
|||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.SS "hasvalue"
|
||||
.if n \{\
|
||||
.RS 0
|
||||
.\}
|
||||
.nf
|
||||
(class=collections #args=2) True/false if map/array has/hasn't value, e.g. 'hasvalue($*, "a")' or 'hasvalue(myarray, myvalue)', returns true if the value is present in the collection. Error if 1st argument is not a map or array.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.SS "hexfmt"
|
||||
.if n \{\
|
||||
.RS 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue