Home
last modified time | relevance | path

Searched refs:mlr (Results 1 – 25 of 1187) sorted by relevance

12345678910>>...48

/dports/textproc/miller/miller-5.10.2/go/reg-test/expected/
H A Dcase-dsl-warnings.sh.out2 mlr -n put y = 1
4 mlr -n put -w y = 1
6 mlr -n put -W y = 1
8 mlr -n put x = 3; y = x
20 mlr -n put y = $x
22 mlr -n put -w y = $x
24 mlr -n put -W y = $x
26 mlr -n put y = x
28 mlr -n put -w y = x
30 mlr -n put -W y = x
[all …]
H A Dcase-dsl-asserting.sh.out2 mlr --opprint put $f=asserting_absent($nosuch) ./reg-test/input/nullvals.dkvp
10 mlr --opprint put $f=asserting_absent(@nosuch) ./reg-test/input/nullvals.dkvp
18 mlr --opprint put $f=asserting_absent($x) ./reg-test/input/nullvals.dkvp
20 mlr --opprint put $f=asserting_absent($y) ./reg-test/input/nullvals.dkvp
22 mlr --opprint put $f=asserting_absent($z) ./reg-test/input/nullvals.dkvp
26 mlr --opprint put foo=asserting_absent($*) ./reg-test/input/nullvals.dkvp
30 mlr --opprint put $f=asserting_empty($z) ./reg-test/input/nullvals.dkvp
38 mlr --opprint put $f=asserting_empty($x) ./reg-test/input/nullvals.dkvp
40 mlr --opprint put $f=asserting_empty($y) ./reg-test/input/nullvals.dkvp
78 mlr --opprint put $f=asserting_map($*) ./reg-test/input/nullvals.dkvp
[all …]
H A Dcase-dsl-json-collection-output.sh.out2 mlr --json cat
7 mlr --json cat
12 mlr --json cat
21 mlr --json cat
34 mlr --json cat
39 mlr --json cat
48 mlr --json cat
61 mlr --json cat
67 mlr --json cat
77 mlr --json cat
[all …]
H A Dcase-dsl-mapvar-assignments.sh.out10 mlr --from ./reg-test/input/xyz2 put $* = $*
14 mlr --from ./reg-test/input/xyz2 put @a = 1; $* = @a
24 mlr --from ./reg-test/input/xyz2 put @a = 1; $* = @*
36 mlr --from ./reg-test/input/xyz2 put a = 1; $* = a
46 mlr --from ./reg-test/input/xyz2 put $* = 3
48 mlr --from ./reg-test/input/xyz2 put
58 mlr --from ./reg-test/input/xyz2 put
91 mlr --from ./reg-test/input/xyz2 put @* = $*; dump
235 mlr --from ./reg-test/input/xyz2 put @* = 3
237 mlr --from ./reg-test/input/xyz2 put
[all …]
H A Dcase-dsl-scientific-notation.sh.out6 mlr --opprint put $y=$x+1 ./reg-test/input/scinot.dkvp
39 mlr --opprint put $y = 123 + $i ./reg-test/input/scinot1.dkvp
43 mlr --opprint put $y = 123. + $i ./reg-test/input/scinot1.dkvp
47 mlr --opprint put $y = 123.4 + $i ./reg-test/input/scinot1.dkvp
51 mlr --opprint put $y = .234 + $i ./reg-test/input/scinot1.dkvp
55 mlr --opprint put $y = 1e2 + $i ./reg-test/input/scinot1.dkvp
59 mlr --opprint put $y = 1e-2 + $i ./reg-test/input/scinot1.dkvp
63 mlr --opprint put $y = 1.2e3 + $i ./reg-test/input/scinot1.dkvp
67 mlr --opprint put $y = 1.e3 + $i ./reg-test/input/scinot1.dkvp
71 mlr --opprint put $y = 1.2e-3 + $i ./reg-test/input/scinot1.dkvp
[all …]
H A Dcase-dsl-operator-associativity.sh.out2 mlr put -v $x = 1 || 2 || 3 /dev/null
17 mlr filter -v 1 || 2 || 3 /dev/null
31 mlr put -v $x = 1 ^^ 2 ^^ 3 /dev/null
60 mlr put -v $x = 1 && 2 && 3 /dev/null
1684 mlr put -v $x = ++1 /dev/null
1697 mlr filter -v ++1 /dev/null
1709 mlr put -v $x = --1 /dev/null
1722 mlr filter -v --1 /dev/null
1734 mlr put -v $x = !!1 /dev/null
1747 mlr filter -v !!1 /dev/null
[all …]
H A Dcase-dsl-split-join.sh.out2 mlr -n put end { print joink({}, ",") }
5 mlr -n put end { print joinv({}, ",") }
8 mlr -n put end { print joinkv({}, "=", ",") }
11 mlr -n put end { print joink([], ",") }
14 mlr -n put end { print joinv([], ",") }
17 mlr -n put end { print joinkv([], "=", ",") }
20 mlr -n put end {print joink([1,2,3], ",")}
26 mlr -n put end {print joinv([3,4,5], ",")}
52 mlr -n put end {print splitnv("3,4,5", ",")}
80 mlr -n put end {print splitnv("a,b,c", ",")}
[all …]
H A Dcase-dsl-operator-precedence.sh.out2 mlr put -v $x = 1 || 2 ^^ 3 /dev/null
17 mlr filter -v 1 || 2 ^^ 3 /dev/null
31 mlr put -v $x = 1 || 2 && 3 /dev/null
1563 mlr put -v $x = true /dev/null
1734 mlr put -v $y ||= $x /dev/null
1747 mlr put -v $y ^^= $x /dev/null
1760 mlr put -v $y &&= $x /dev/null
1773 mlr put -v $y |= $x /dev/null
1786 mlr put -v $y ^= $x /dev/null
1799 mlr put -v $y &= $x /dev/null
[all …]
H A Dcase-dsl-context-validation.sh.out2 mlr -n put begin{begin{}}
4 mlr -n put begin{end{}}
6 mlr -n put end{begin{}}
8 mlr -n put end{end{}}
12 mlr -n put begin { emit $x }
14 mlr -n put return 3
16 mlr -n put break
18 mlr -n put continue
20 mlr -n put func f() { break }
24 mlr -n put -v true
[all …]
H A Dcase-dsl-is-predicates.sh.out2 mlr --opprint put $f=is_absent($x) ./reg-test/input/nullvals.dkvp
10 mlr --opprint put $f=is_absent($y) ./reg-test/input/nullvals.dkvp
18 mlr --opprint put $f=is_absent($z) ./reg-test/input/nullvals.dkvp
50 mlr --opprint put $f=is_bool($x>1) ./reg-test/input/nullvals.dkvp
58 mlr --opprint put $f=is_bool($y>1) ./reg-test/input/nullvals.dkvp
66 mlr --opprint put $f=is_bool($z>1) ./reg-test/input/nullvals.dkvp
146 mlr --opprint put $f=is_empty($x) ./reg-test/input/nullvals.dkvp
154 mlr --opprint put $f=is_empty($y) ./reg-test/input/nullvals.dkvp
346 mlr --opprint put $f=is_int($x) ./reg-test/input/nullvals.dkvp
354 mlr --opprint put $f=is_int($y) ./reg-test/input/nullvals.dkvp
[all …]
H A Dcase-c-mix-null-field-input.sh.out2 mlr --icsvlite --odkvp cat ./reg-test/input/null-fields.csv
9 mlr --inidx --ifs comma --odkvp cat ./reg-test/input/null-fields.nidx
16 mlr --idkvp --oxtab cat ./reg-test/input/missings.dkvp
144 mlr --oxtab stats2 -a cov -f x,y ./reg-test/input/nullvals.dkvp
161 mlr --opprint top -n 5 -f x ./reg-test/input/nullvals.dkvp
169 mlr --opprint top -n 5 -f y ./reg-test/input/nullvals.dkvp
177 mlr --opprint top -n 5 -f z ./reg-test/input/nullvals.dkvp
185 mlr --opprint top -n 5 -f x,y,z ./reg-test/input/nullvals.dkvp
225 mlr --opprint top -a -n 5 -f x ./reg-test/input/nullvals.dkvp
231 mlr --opprint top -a -n 5 -f y ./reg-test/input/nullvals.dkvp
[all …]
H A Dcase-dsl-type-inference.sh.out2 mlr --xtab put $y = $pi1 + $pi2 ./reg-test/input/mixed-types.xtab
39 mlr --xtab put $y=abs($pf1) ./reg-test/input/mixed-types.xtab
52 mlr --xtab put $y=abs($nf1) ./reg-test/input/mixed-types.xtab
65 mlr --xtab put $y=abs($zf) ./reg-test/input/mixed-types.xtab
78 mlr --xtab put $y=abs($pi1) ./reg-test/input/mixed-types.xtab
91 mlr --xtab put $y=abs($ni1) ./reg-test/input/mixed-types.xtab
104 mlr --xtab put $y=abs($zi) ./reg-test/input/mixed-types.xtab
195 mlr --xtab put $y=ceil($pf1) ./reg-test/input/mixed-types.xtab
221 mlr --xtab put $y=ceil($zf) ./reg-test/input/mixed-types.xtab
260 mlr --xtab put $y=ceil($zi) ./reg-test/input/mixed-types.xtab
[all …]
H A Dcase-c-dsl-filter-pattern-action.sh.out2 mlr --opprint put $x > 0.5; $z = "flag" ./reg-test/input/abixy
15 mlr --opprint put !($x > 0.5); $z = "flag" ./reg-test/input/abixy
256 mlr --oxtab cat ./reg-test/input/subtab.dkvp
269 mlr --oxtab put -f ./reg-test/input/subtab1.mlr ./reg-test/input/subtab.dkvp
287 mlr --oxtab put -f ./reg-test/input/subtab2.mlr ./reg-test/input/subtab.dkvp
305 mlr --oxtab put -f ./reg-test/input/subtab3.mlr ./reg-test/input/subtab.dkvp
323 mlr --oxtab put -f ./reg-test/input/subtab4.mlr ./reg-test/input/subtab.dkvp
756 mlr --nidx put $1 = sub($1, "ab(.)d(..)g", "ab<<\1>>d<<\2>>g")
759 mlr --nidx put $1 = sub($1, "ab(c)?d(..)g", "ab<<\1>>d<<\2>>g")
762 mlr --nidx put $1 = sub($1, "ab(c)?d(..)g", "ab<<\1>>d<<\2>>g")
[all …]
H A Dcase-dsl-trailing-commas.sh.out2 mlr --from ./reg-test/input/abixy put
19 mlr --from ./reg-test/input/xyz345 put func f(): int { return 999 } $y=f()
22 mlr --from ./reg-test/input/xyz345 put func f(): int { return 999 } $y=f(,)
34 mlr --from ./reg-test/input/xyz345 put subr s() { print 999 } call s()
40 mlr --from ./reg-test/input/xyz345 put subr s(a,) { print a*2 } call s(NR)
52 mlr --from ./reg-test/input/xyz345 put $y=log10($x)
55 mlr --from ./reg-test/input/xyz345 put $y=log10($x,)
58 mlr --from ./reg-test/input/xyz345 put $y=log10($x,,)
60 mlr --from ./reg-test/input/xyz345 put $y=log10(,$x)
62 mlr --from ./reg-test/input/xyz345 put $y=pow($x,2)
[all …]
H A Dcase-c-io-skip-pass-comments.sh.out15 mlr --skip-comments --idkvp --oxtab cat
35 mlr --pass-comments --idkvp --oxtab cat
64 mlr --skip-comments --idkvp --oxtab cat
84 mlr --pass-comments --idkvp --oxtab cat
113 mlr --skip-comments --idkvp --oxtab cat
153 mlr termcvt --lf2crlf
506 mlr termcvt --lf2crlf
648 mlr termcvt --lf2crlf
768 mlr termcvt --lf2crlf
879 mlr termcvt --lf2crlf
[all …]
H A Dcase-dsl-unset.sh.out65 mlr --from ./reg-test/input/s.dkvp put -q
86 mlr --from ./reg-test/input/s.dkvp put -q
112 mlr --from ./reg-test/input/s.dkvp put -q
139 mlr --from ./reg-test/input/s.dkvp put -q
160 mlr --from ./reg-test/input/s.dkvp put -q
186 mlr --from ./reg-test/input/s.dkvp put -q
213 mlr --from ./reg-test/input/s.dkvp put -q
230 mlr --from ./reg-test/input/s.dkvp put -q
250 mlr --from ./reg-test/input/s.dkvp put -q
271 mlr --from ./reg-test/input/s.dkvp put -q
[all …]
H A Dcase-verb-truncate.sh.out2 mlr put $y=truncate($x, 0)
5 mlr put $y=truncate($x, 1)
8 mlr put $y=truncate($x, 2)
11 mlr put $y=truncate($x, 3)
14 mlr put $y=truncate($x, 4)
17 mlr put $y=truncate($x, 5)
20 mlr put $y=truncate($x, 0)
23 mlr put $y=truncate($x, 1)
26 mlr put $y=truncate($x, 2)
29 mlr put $y=truncate($x, 3)
[all …]
H A Dcase-dsl-empty-statements.sh.out2 mlr -n put -v
10 mlr -n filter -v
18 mlr -n put -v begin {}
28 mlr -n put -v begin {;}
38 mlr -n put -v begin {;;}
48 mlr -n put -v begin {;;;}
58 mlr -n put -v begin {@x=1}
129 mlr -n put -v true {}
140 mlr -n put -v true {;}
249 mlr -n put -v end {}
[all …]
H A Dcase-c-dsl-lashed-emitp-singles.sh.out2 mlr -n put end {
8 mlr -n put end {
14 mlr -n put end {
20 mlr -n put end {
26 mlr -n put end {
34 mlr -n put end {
42 mlr -n put end {
48 mlr -n put end {
54 mlr -n put end {
62 mlr -n put end {
[all …]
H A Dcase-dsl-collection-equality.sh.out2 mlr -n put end { @eq = [1,2,3] == [1,2,3] ; print @eq}
5 mlr -n put end { @eq = [1,2,3] == [1,2,3,4] ; print @eq}
8 mlr -n put end { @eq = [1,2,3] == [1,3,3] ; print @eq}
11 mlr -n put end { @eq = ["a",2,3] == [1,2,3] ; print @eq}
14 mlr -n put end { @eq = [] == {} ; print @eq}
17 mlr -n put end { @eq = {} == {} ; print @eq}
20 mlr -n put end { @eq = {"a":1} == {"a":1} ; print @eq}
23 mlr -n put end { @eq = {"a":1} == {"a":2} ; print @eq}
26 mlr -n put end { @eq = {"a":1} == {"b":1} ; print @eq}
29 mlr -n put end { @eq = {"a":1,"b":2} == {"b":2} ; print @eq}
[all …]
H A Dcase-io-json-io.sh.out2 mlr --ijson --opprint cat ./reg-test/input/small-non-nested.json
15 mlr --ijson --opprint cat ./reg-test/input/small-non-nested-wrapped.json
28 mlr --ijson --oxtab cat ./reg-test/input/small-nested.json
37 mlr --ojson cat ./reg-test/input/json-output-options.dkvp
51 mlr --ojson --jvstack cat ./reg-test/input/json-output-options.dkvp
65 mlr --ojson --jlistwrap cat ./reg-test/input/json-output-options.dkvp
362 mlr --icsv --ojson --rs lf cat
367 mlr --icsv --ojson --jvquoteall --rs lf cat
372 mlr --ijson --oxtab cat ./reg-test/input/arrays.json
472 mlr --json cat ./reg-test/input/escapes.json
[all …]
/dports/textproc/miller/miller-5.10.2/man/
H A Dmkman.rb26 `mlr --usage-synopsis`
43 print make_code_block(`mlr --usage-examples`)
63 print make_code_block(`mlr --usage-functions`)
96 print make_code_block(`mlr --usage-auxents`)
100 print make_code_block(`mlr --usage-mlrrc`)
102 verbs = `mlr --list-all-verbs-raw`
109 print make_code_block(`mlr #{verb} -h`)
112 functions = `mlr --list-all-functions-raw`
119 text = `mlr --help-function '#{function}'`
124 keywords = `mlr --list-all-keywords-raw`
[all …]
/dports/textproc/miller/miller-5.10.2/docs/
H A Dreference-verbs.rst.in46 POKI_RUN_COMMAND{{mlr altkv -h}}HERE
65 POKI_RUN_COMMAND{{mlr bar -h}}HERE
147 POKI_RUN_COMMAND{{mlr cat -h}}HERE
184 POKI_RUN_COMMAND{{mlr check --help}}HERE
226 POKI_RUN_COMMAND{{mlr count --help}}HERE
305 POKI_RUN_COMMAND{{mlr cut --help}}HERE
448 POKI_RUN_COMMAND{{mlr grep -h}}HERE
725 POKI_RUN_COMMAND{{mlr nest -h}}HERE
734 POKI_RUN_COMMAND{{mlr nothing -h}}HERE
743 POKI_RUN_COMMAND{{mlr put --help}}HERE
[all …]
H A Dquick-examples.rst9 % mlr --csv cut -f hostname,uptime mydata.csv
13 % mlr --nidx put '$sum = $7 < 0.0 ? 3.5 : $7 + 2.1*$8' *.dat
17 % mlr --csv filter '$status != "down" && $upsec >= 10000' *.csv
25 % mlr join -j account_id -f accounts.dat then group-by account_name balances.dat
33 % mlr stats1 -a min,mean,max,p10,p50,p90 -f flag,u,v data/*
37 % mlr stats2 -a linreg-pca -f u,v -g shape data/*
41 % mlr put -q '@sum[$a][$b] += $x; end {emit @sum, "a", "b"}' data/*
45 % mlr --from estimates.tbl put '
56 % mlr --from infile.dat put -f analyze.mlr
60 % mlr --from infile.dat put 'tee > "./taps/data-".$a."-".$b, $*'
[all …]
H A Dquick-examples.rst.in6 % mlr --csv cut -f hostname,uptime mydata.csv
10 % mlr --nidx put '$sum = $7 < 0.0 ? 3.5 : $7 + 2.1*$8' *.dat
14 % mlr --csv filter '$status != "down" && $upsec >= 10000' *.csv
22 % mlr join -j account_id -f accounts.dat then group-by account_name balances.dat
30 % mlr stats1 -a min,mean,max,p10,p50,p90 -f flag,u,v data/*
34 % mlr stats2 -a linreg-pca -f u,v -g shape data/*
38 % mlr put -q '@sum[$a][$b] += $x; end {emit @sum, "a", "b"}' data/*
42 % mlr --from estimates.tbl put '
53 % mlr --from infile.dat put -f analyze.mlr
57 % mlr --from infile.dat put 'tee > "./taps/data-".$a."-".$b, $*'
[all …]

12345678910>>...48