diff --git a/c/reg_test/expected/out b/c/reg_test/expected/out index c67c4f882..fc3e61d5a 100644 --- a/c/reg_test/expected/out +++ b/c/reg_test/expected/out @@ -2,7 +2,7 @@ ================================================================ STATELESS MAPPERS -mlr cat ./test/input/abixy +mlr cat ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -16,7 +16,7 @@ a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 mlr cat /dev/null -mlr cut -f a,x ./test/input/abixy +mlr cut -f a,x ./reg_test/input/abixy a=pan,x=0.3467901443380824 a=eks,x=0.7586799647899636 a=wye,x=0.20460330576630303 @@ -28,7 +28,7 @@ a=zee,x=0.5985540091064224 a=hat,x=0.03144187646093577 a=pan,x=0.5026260055412137 -mlr cut --complement -f a,x ./test/input/abixy +mlr cut --complement -f a,x ./reg_test/input/abixy b=pan,i=1,y=0.7268028627434533 b=pan,i=2,y=0.5221511083334797 b=wye,i=3,y=0.33831852551664776 @@ -40,7 +40,7 @@ b=wye,i=8,y=0.976181385699006 b=wye,i=9,y=0.7495507603507059 b=wye,i=10,y=0.9526183602969864 -mlr having-fields --at-least a,b ./test/input/abixy +mlr having-fields --at-least a,b ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -52,9 +52,9 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr having-fields --at-least a,c ./test/input/abixy +mlr having-fields --at-least a,c ./reg_test/input/abixy -mlr having-fields --at-least a,b,i,x,y ./test/input/abixy +mlr having-fields --at-least a,b,i,x,y ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -66,9 +66,9 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr having-fields --which-are a,b,i,x ./test/input/abixy +mlr having-fields --which-are a,b,i,x ./reg_test/input/abixy -mlr having-fields --which-are a,b,i,x,y ./test/input/abixy +mlr having-fields --which-are a,b,i,x,y ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -80,7 +80,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr having-fields --which-are a,b,i,y,x ./test/input/abixy +mlr having-fields --which-are a,b,i,y,x ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -92,13 +92,13 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr having-fields --which-are a,b,i,x,w ./test/input/abixy +mlr having-fields --which-are a,b,i,x,w ./reg_test/input/abixy -mlr having-fields --which-are a,b,i,x,y,z ./test/input/abixy +mlr having-fields --which-are a,b,i,x,y,z ./reg_test/input/abixy -mlr having-fields --at-most a,c ./test/input/abixy +mlr having-fields --at-most a,c ./reg_test/input/abixy -mlr having-fields --at-most a,b,i,x,y ./test/input/abixy +mlr having-fields --at-most a,b,i,x,y ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -110,7 +110,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr having-fields --at-most a,b,i,x,y,z ./test/input/abixy +mlr having-fields --at-most a,b,i,x,y,z ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -122,7 +122,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr rename b,BEE,x,EKS ./test/input/abixy +mlr rename b,BEE,x,EKS ./reg_test/input/abixy a=pan,BEE=pan,i=1,EKS=0.3467901443380824,y=0.7268028627434533 a=eks,BEE=pan,i=2,EKS=0.7586799647899636,y=0.5221511083334797 a=wye,BEE=wye,i=3,EKS=0.20460330576630303,y=0.33831852551664776 @@ -134,7 +134,7 @@ a=zee,BEE=wye,i=8,EKS=0.5985540091064224,y=0.976181385699006 a=hat,BEE=wye,i=9,EKS=0.03144187646093577,y=0.7495507603507059 a=pan,BEE=wye,i=10,EKS=0.5026260055412137,y=0.9526183602969864 -mlr rename nonesuch,nonesuch,x,EKS ./test/input/abixy +mlr rename nonesuch,nonesuch,x,EKS ./reg_test/input/abixy a=pan,b=pan,i=1,EKS=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,EKS=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,EKS=0.20460330576630303,y=0.33831852551664776 @@ -146,7 +146,7 @@ a=zee,b=wye,i=8,EKS=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,EKS=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,EKS=0.5026260055412137,y=0.9526183602969864 -mlr regularize ./test/input/regularize.dkvp +mlr regularize ./reg_test/input/regularize.dkvp a=1,c=2,b=3 e=4,d=5 a=6,c=7,b=8 @@ -155,7 +155,7 @@ a=6,c=7,b=8 ================================================================ TRIVIAL RETAINERS -mlr group-by a ./test/input/abixy +mlr group-by a ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 @@ -167,7 +167,7 @@ a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 -mlr group-by a,b ./test/input/abixy +mlr group-by a,b ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -179,7 +179,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr group-like ./test/input/het.dkvp +mlr group-like ./reg_test/input/het.dkvp host=jupiter host=saturn host=mars @@ -193,7 +193,7 @@ df/tmp=0.04MB,uptime=890sec df/tmp=8.55MB,uptime=787897777sec df/tmp=9.47MB,uptime=234289080sec -mlr tac ./test/input/abixy +mlr tac ./reg_test/input/abixy a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 @@ -211,7 +211,7 @@ mlr tac /dev/null ================================================================ SORT -mlr sort -f a ./test/input/abixy +mlr sort -f a ./reg_test/input/abixy a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 @@ -223,7 +223,7 @@ a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729 a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 -mlr sort -r a ./test/input/abixy +mlr sort -r a ./reg_test/input/abixy a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -235,7 +235,7 @@ a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 -mlr sort -f x ./test/input/abixy +mlr sort -f x ./reg_test/input/abixy a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 @@ -247,7 +247,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 -mlr sort -r x ./test/input/abixy +mlr sort -r x ./reg_test/input/abixy a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 @@ -259,7 +259,7 @@ a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 -mlr sort -nf x ./test/input/abixy +mlr sort -nf x ./reg_test/input/abixy a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 @@ -271,7 +271,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 -mlr sort -nr x ./test/input/abixy +mlr sort -nr x ./reg_test/input/abixy a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 @@ -283,7 +283,7 @@ a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 -mlr sort -f a,b ./test/input/abixy +mlr sort -f a,b ./reg_test/input/abixy a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 @@ -295,7 +295,7 @@ a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 -mlr sort -r a,b ./test/input/abixy +mlr sort -r a,b ./reg_test/input/abixy a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -307,7 +307,7 @@ a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 -mlr sort -f x,y ./test/input/abixy +mlr sort -f x,y ./reg_test/input/abixy a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 @@ -319,7 +319,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 -mlr sort -r x,y ./test/input/abixy +mlr sort -r x,y ./reg_test/input/abixy a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 @@ -331,7 +331,7 @@ a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 -mlr sort -nf x,y ./test/input/abixy +mlr sort -nf x,y ./reg_test/input/abixy a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 @@ -343,7 +343,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 -mlr sort -nr x,y ./test/input/abixy +mlr sort -nr x,y ./reg_test/input/abixy a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 @@ -355,7 +355,7 @@ a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 -mlr sort -f a -nr x ./test/input/abixy +mlr sort -f a -nr x ./reg_test/input/abixy a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 @@ -367,7 +367,7 @@ a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 -mlr sort -nr y -f a ./test/input/abixy +mlr sort -nr y -f a ./reg_test/input/abixy a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729 @@ -379,7 +379,7 @@ a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 -mlr sort -f a -r b -nf x -nr y ./test/input/abixy +mlr sort -f a -r b -nf x -nr y ./reg_test/input/abixy a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 @@ -395,7 +395,7 @@ a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 ================================================================ JOIN -mlr --opprint join -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp o x y 1 a s 2 b t @@ -411,7 +411,7 @@ o x y 3 e y 3 f y -mlr --opprint join -u -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp o x y 1 a s 2 b t @@ -427,7 +427,7 @@ o x y 3 e y 3 f y -mlr --opprint join --ul -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --ul -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp o x y 1 a s 2 b t @@ -446,7 +446,7 @@ o x y l x 4 g -mlr --opprint join -u --ul -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --ul -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp o x y 1 a s 2 b t @@ -465,7 +465,7 @@ o x y l x 4 g -mlr --opprint join --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp o x y 1 a s 2 b t @@ -484,7 +484,7 @@ o x y r y 5 z -mlr --opprint join -u --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp o x y 1 a s 2 b t @@ -503,7 +503,7 @@ o x y r y 5 z -mlr --opprint join --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --ul --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp o x y 1 a s 2 b t @@ -525,7 +525,7 @@ l x r y 5 z -mlr --opprint join -u --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --ul --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp o x y 1 a s 2 b t @@ -547,45 +547,45 @@ r y l x 4 g -mlr --opprint join --np --ul -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --np --ul -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp l x 4 g -mlr --opprint join -u --np --ul -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --np --ul -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp l x 4 g -mlr --opprint join --np --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --np --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp r y 5 z -mlr --opprint join -u --np --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --np --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp r y 5 z -mlr --opprint join --np --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --np --ul --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp l x 4 g r y 5 z -mlr --opprint join -u --np --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --np --ul --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o ./reg_test/input/joinb.dkvp r y 5 z l x 4 g -mlr --opprint join -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp -mlr --opprint join -u -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp -mlr --opprint join --ul -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --ul -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp -mlr --opprint join -u --ul -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --ul -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp -mlr --opprint join --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --ur -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp r y 1 s 2 t @@ -595,7 +595,7 @@ r y 3 y 5 z -mlr --opprint join -u --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --ur -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp r y 1 s 2 t @@ -605,7 +605,7 @@ r y 3 y 5 z -mlr --opprint join --ul --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --ul --ur -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp r y 1 s 2 t @@ -615,7 +615,7 @@ r y 3 y 5 z -mlr --opprint join -u --ul --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --ul --ur -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp r y 1 s 2 t @@ -625,11 +625,11 @@ r y 3 y 5 z -mlr --opprint join --np --ul -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --np --ul -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp -mlr --opprint join -u --np --ul -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --np --ul -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp -mlr --opprint join --np --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --np --ur -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp r y 1 s 2 t @@ -639,7 +639,7 @@ r y 3 y 5 z -mlr --opprint join -u --np --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --np --ur -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp r y 1 s 2 t @@ -649,7 +649,7 @@ r y 3 y 5 z -mlr --opprint join --np --ul --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join --np --ul --ur -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp r y 1 s 2 t @@ -659,7 +659,7 @@ r y 3 y 5 z -mlr --opprint join -u --np --ul --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp +mlr --opprint join -u --np --ul --ur -f /dev/null -l l -r r -j o ./reg_test/input/joinb.dkvp r y 1 s 2 t @@ -669,11 +669,11 @@ r y 3 y 5 z -mlr --opprint join -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null -mlr --opprint join -u -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join -u -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null -mlr --opprint join --ul -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join --ul -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null l x 1 a 2 b @@ -683,7 +683,7 @@ l x 3 f 4 g -mlr --opprint join -u --ul -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join -u --ul -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null l x 1 a 2 b @@ -693,11 +693,11 @@ l x 3 f 4 g -mlr --opprint join --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null -mlr --opprint join -u --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join -u --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null -mlr --opprint join --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join --ul --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null l x 1 a 2 b @@ -707,7 +707,7 @@ l x 3 f 4 g -mlr --opprint join -u --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join -u --ul --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null l x 1 a 2 b @@ -717,7 +717,7 @@ l x 3 f 4 g -mlr --opprint join --np --ul -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join --np --ul -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null l x 1 a 2 b @@ -727,7 +727,7 @@ l x 3 f 4 g -mlr --opprint join -u --np --ul -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join -u --np --ul -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null l x 1 a 2 b @@ -737,11 +737,11 @@ l x 3 f 4 g -mlr --opprint join --np --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join --np --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null -mlr --opprint join -u --np --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join -u --np --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null -mlr --opprint join --np --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join --np --ul --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null l x 1 a 2 b @@ -751,7 +751,7 @@ l x 3 f 4 g -mlr --opprint join -u --np --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null +mlr --opprint join -u --np --ul --ur -f ./reg_test/input/joina.dkvp -l l -r r -j o /dev/null l x 1 a 2 b @@ -765,7 +765,7 @@ l x ================================================================ STATS -mlr count-distinct -f a,b ./test/input/small ./test/input/abixy +mlr count-distinct -f a,b ./reg_test/input/small ./reg_test/input/abixy a=pan,b=pan,count=2 a=eks,b=pan,count=2 a=wye,b=wye,count=2 @@ -777,19 +777,19 @@ a=zee,b=wye,count=2 a=hat,b=wye,count=2 a=pan,b=wye,count=2 -mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y ./test/input/abixy +mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y ./reg_test/input/abixy i_mean i_sum i_count i_min i_max i_mode x_mean x_sum x_count x_min x_max x_mode y_mean y_sum y_count y_min y_max y_mode 5.500000 55.000000 10 1.000000 10.000000 1 0.453629 4.536294 10 0.031442 0.758680 0.3467901443380824 0.594454 5.944542 10 0.134189 0.976181 0.7268028627434533 -mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y ./test/input/abixy +mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y ./reg_test/input/abixy i_min i_p10 i_p50 i_mode i_p90 i_max x_min x_p10 x_p50 x_mode x_p90 x_max y_min y_p10 y_p50 y_mode y_p90 y_max 1.000000 2.000000 6.000000 1 10.000000 10.000000 0.031442 0.204603 0.527126 0.3467901443380824 0.758680 0.758680 0.134189 0.187885 0.726803 0.7268028627434533 0.976181 0.976181 -mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y ./test/input/abixy +mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y ./reg_test/input/abixy i_mean i_meaneb i_stddev x_mean x_meaneb x_stddev y_mean y_meaneb y_stddev 5.500000 0.957427 3.027650 0.453629 0.068157 0.215531 0.594454 0.096968 0.306639 -mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y -g a ./test/input/abixy +mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y -g a ./reg_test/input/abixy a i_mean i_sum i_count i_min i_max i_mode x_mean x_sum x_count x_min x_max x_mode y_mean y_sum y_count y_min y_max y_mode pan 5.500000 11.000000 2 1.000000 10.000000 1 0.424708 0.849416 2 0.346790 0.502626 0.3467901443380824 0.839711 1.679421 2 0.726803 0.952618 0.7268028627434533 eks 4.333333 13.000000 3 2.000000 7.000000 2 0.583954 1.751863 3 0.381399 0.758680 0.7586799647899636 0.281408 0.844225 3 0.134189 0.522151 0.5221511083334797 @@ -797,7 +797,7 @@ wye 4.000000 8.000000 2 3.000000 5.000000 3 0.388946 0.777892 2 zee 7.000000 14.000000 2 6.000000 8.000000 6 0.562840 1.125680 2 0.527126 0.598554 0.5271261600918548 0.734701 1.469403 2 0.493221 0.976181 0.49322128674835697 hat 9.000000 9.000000 1 9.000000 9.000000 9 0.031442 0.031442 1 0.031442 0.031442 0.03144187646093577 0.749551 0.749551 1 0.749551 0.749551 0.7495507603507059 -mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y -g a ./test/input/abixy +mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y -g a ./reg_test/input/abixy a i_min i_p10 i_p50 i_mode i_p90 i_max x_min x_p10 x_p50 x_mode x_p90 x_max y_min y_p10 y_p50 y_mode y_p90 y_max pan 1.000000 1.000000 10.000000 1 10.000000 10.000000 0.346790 0.346790 0.502626 0.3467901443380824 0.502626 0.502626 0.726803 0.726803 0.952618 0.7268028627434533 0.952618 0.952618 eks 2.000000 2.000000 4.000000 2 7.000000 7.000000 0.381399 0.381399 0.611784 0.7586799647899636 0.758680 0.758680 0.134189 0.134189 0.187885 0.5221511083334797 0.522151 0.522151 @@ -805,7 +805,7 @@ wye 3.000000 3.000000 5.000000 3 5.000000 5.000000 0.204603 0.204603 0.5 zee 6.000000 6.000000 8.000000 6 8.000000 8.000000 0.527126 0.527126 0.598554 0.5271261600918548 0.598554 0.598554 0.493221 0.493221 0.976181 0.49322128674835697 0.976181 0.976181 hat 9.000000 9.000000 9.000000 9 9.000000 9.000000 0.031442 0.031442 0.031442 0.03144187646093577 0.031442 0.031442 0.749551 0.749551 0.749551 0.7495507603507059 0.749551 0.749551 -mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y -g a ./test/input/abixy +mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y -g a ./reg_test/input/abixy a i_mean i_meaneb i_stddev x_mean x_meaneb x_stddev y_mean y_meaneb y_stddev pan 5.500000 4.500000 6.363961 0.424708 0.077918 0.110193 0.839711 0.112908 0.159676 eks 4.333333 1.452966 2.516611 0.583954 0.109797 0.190174 0.281408 0.121365 0.210211 @@ -813,7 +813,7 @@ wye 4.000000 1.000000 1.414214 0.388946 0.184343 0.260700 0.600971 0.262653 0.37 zee 7.000000 1.000000 1.414214 0.562840 0.035714 0.050507 0.734701 0.241480 0.341504 hat 9.000000 - - 0.031442 - - 0.749551 - - -mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y -g a,b ./test/input/abixy +mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y -g a,b ./reg_test/input/abixy a b i_mean i_sum i_count i_min i_max i_mode x_mean x_sum x_count x_min x_max x_mode y_mean y_sum y_count y_min y_max y_mode pan pan 1.000000 1.000000 1 1.000000 1.000000 1 0.346790 0.346790 1 0.346790 0.346790 0.3467901443380824 0.726803 0.726803 1 0.726803 0.726803 0.7268028627434533 eks pan 2.000000 2.000000 1 2.000000 2.000000 2 0.758680 0.758680 1 0.758680 0.758680 0.7586799647899636 0.522151 0.522151 1 0.522151 0.522151 0.5221511083334797 @@ -826,7 +826,7 @@ zee wye 8.000000 8.000000 1 8.000000 8.000000 8 0.598554 0.598554 hat wye 9.000000 9.000000 1 9.000000 9.000000 9 0.031442 0.031442 1 0.031442 0.031442 0.03144187646093577 0.749551 0.749551 1 0.749551 0.749551 0.7495507603507059 pan wye 10.000000 10.000000 1 10.000000 10.000000 10 0.502626 0.502626 1 0.502626 0.502626 0.5026260055412137 0.952618 0.952618 1 0.952618 0.952618 0.9526183602969864 -mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y -g a,b ./test/input/abixy +mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y -g a,b ./reg_test/input/abixy a b i_min i_p10 i_p50 i_mode i_p90 i_max x_min x_p10 x_p50 x_mode x_p90 x_max y_min y_p10 y_p50 y_mode y_p90 y_max pan pan 1.000000 1.000000 1.000000 1 1.000000 1.000000 0.346790 0.346790 0.346790 0.3467901443380824 0.346790 0.346790 0.726803 0.726803 0.726803 0.7268028627434533 0.726803 0.726803 eks pan 2.000000 2.000000 2.000000 2 2.000000 2.000000 0.758680 0.758680 0.758680 0.7586799647899636 0.758680 0.758680 0.522151 0.522151 0.522151 0.5221511083334797 0.522151 0.522151 @@ -839,7 +839,7 @@ zee wye 8.000000 8.000000 8.000000 8 8.000000 8.000000 0.598554 0.5985 hat wye 9.000000 9.000000 9.000000 9 9.000000 9.000000 0.031442 0.031442 0.031442 0.03144187646093577 0.031442 0.031442 0.749551 0.749551 0.749551 0.7495507603507059 0.749551 0.749551 pan wye 10.000000 10.000000 10.000000 10 10.000000 10.000000 0.502626 0.502626 0.502626 0.5026260055412137 0.502626 0.502626 0.952618 0.952618 0.952618 0.9526183602969864 0.952618 0.952618 -mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y -g a,b ./test/input/abixy +mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y -g a,b ./reg_test/input/abixy a b i_mean i_meaneb i_stddev x_mean x_meaneb x_stddev y_mean y_meaneb y_stddev pan pan 1.000000 - - 0.346790 - - 0.726803 - - eks pan 2.000000 - - 0.758680 - - 0.522151 - - @@ -852,11 +852,11 @@ zee wye 8.000000 - - 0.598554 - - 0.976181 - hat wye 9.000000 - - 0.031442 - - 0.749551 - - pan wye 10.000000 - - 0.502626 - - 0.952618 - - -mlr --opprint stats2 -a linreg-ols,linreg-pca,r2,corr,cov -f x,y,xy,y2,x2,x2 ./test/input/abixy-wide +mlr --opprint stats2 -a linreg-ols,linreg-pca,r2,corr,cov -f x,y,xy,y2,x2,x2 ./reg_test/input/abixy-wide x_y_ols_m x_y_ols_b x_y_ols_n x_y_pca_m x_y_pca_b x_y_pca_n x_y_pca_quality x_y_r2 x_y_corr x_y_cov xy_y2_ols_m xy_y2_ols_b xy_y2_ols_n xy_y2_pca_m xy_y2_pca_b xy_y2_pca_n xy_y2_pca_quality xy_y2_r2 xy_y2_corr xy_y2_cov x2_x2_ols_m x2_x2_ols_b x2_x2_ols_n x2_x2_pca_m x2_x2_pca_b x2_x2_pca_n x2_x2_pca_quality x2_x2_r2 x2_x2_corr x2_x2_cov 0.028351 0.487644 2000 1.332924 -0.170590 2000 0.056909 0.000791 0.028120 0.002330 0.893610 0.107060 2000 1.529534 -0.055477 2000 0.824336 0.447971 0.669306 0.045036 1.000000 0.000000 2000 1.000000 0.000000 2000 1.000000 1.000000 1.000000 0.087709 -mlr --opprint stats2 -a linreg-ols,linreg-pca,r2,corr,cov -f x,y,xy,y2,x2,x2 -g a,b ./test/input/abixy-wide +mlr --opprint stats2 -a linreg-ols,linreg-pca,r2,corr,cov -f x,y,xy,y2,x2,x2 -g a,b ./reg_test/input/abixy-wide a b x_y_ols_m x_y_ols_b x_y_ols_n x_y_pca_m x_y_pca_b x_y_pca_n x_y_pca_quality x_y_r2 x_y_corr x_y_cov xy_y2_ols_m xy_y2_ols_b xy_y2_ols_n xy_y2_pca_m xy_y2_pca_b xy_y2_pca_n xy_y2_pca_quality xy_y2_r2 xy_y2_corr xy_y2_cov x2_x2_ols_m x2_x2_ols_b x2_x2_ols_n x2_x2_pca_m x2_x2_pca_b x2_x2_pca_n x2_x2_pca_quality x2_x2_r2 x2_x2_corr x2_x2_cov cat pan 0.054420 0.481777 89 3.636062 -1.221602 89 0.177683 0.002504 0.050036 0.003777 0.950908 0.105754 89 1.715574 -0.081719 89 0.830612 0.435336 0.659800 0.041616 1.000000 0.000000 89 1.000000 0.000000 89 1.000000 1.000000 1.000000 0.066303 pan wye -0.145486 0.584799 78 -1.340927 1.199920 78 0.254025 0.019479 -0.139568 -0.012683 0.908151 0.126628 78 1.595150 -0.045034 78 0.824114 0.438850 0.662457 0.046203 1.000000 0.000000 78 1.000000 0.000000 78 1.000000 1.000000 1.000000 0.093192 @@ -884,9 +884,9 @@ cat cat 0.016257 0.425410 79 0.432946 0.225535 79 0.044275 pan cat -0.188523 0.616919 89 -0.898665 0.953923 89 0.324264 0.037036 -0.192447 -0.016206 0.781770 0.176617 89 2.020454 -0.113587 89 0.762332 0.278739 0.527958 0.032984 1.000000 0.000000 89 1.000000 0.000000 89 1.000000 1.000000 1.000000 0.093193 wye pan 0.229443 0.444446 66 1.313689 -0.098124 66 0.365811 0.046722 0.216152 0.020367 0.887659 0.145052 66 1.471906 -0.030176 66 0.827911 0.462545 0.680107 0.064496 1.000000 0.000000 66 1.000000 0.000000 66 1.000000 1.000000 1.000000 0.103497 -mlr --opprint step -a rsum,delta,counter -f x,y ./test/input/abixy +mlr --opprint step -a rsum,delta,counter -f x,y ./reg_test/input/abixy a b i x y x_rsum x_delta x_counter y_rsum y_delta y_counter -pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 0.346790 1 0.726803 0.726803 1 +pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 0.000000 1 0.726803 0.000000 1 eks pan 2 0.7586799647899636 0.5221511083334797 1.105470 0.411890 2 1.248954 -0.204652 2 wye wye 3 0.20460330576630303 0.33831852551664776 1.310073 -0.554077 3 1.587272 -0.183833 3 eks wye 4 0.38139939387114097 0.13418874328430463 1.691473 0.176796 4 1.721461 -0.204130 4 @@ -897,20 +897,20 @@ zee wye 8 0.5985540091064224 0.976181385699006 4.002226 -0.013230 8 hat wye 9 0.03144187646093577 0.7495507603507059 4.033668 -0.567112 9 4.991924 -0.226631 9 pan wye 10 0.5026260055412137 0.9526183602969864 4.536294 0.471184 10 5.944542 0.203068 10 -mlr --opprint step -a rsum,delta,counter -f x,y -g a ./test/input/abixy +mlr --opprint step -a rsum,delta,counter -f x,y -g a ./reg_test/input/abixy a b i x y x_rsum x_delta x_counter y_rsum y_delta y_counter -pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 0.346790 1 0.726803 0.726803 1 -eks pan 2 0.7586799647899636 0.5221511083334797 0.758680 0.758680 1 0.522151 0.522151 1 -wye wye 3 0.20460330576630303 0.33831852551664776 0.204603 0.204603 1 0.338319 0.338319 1 +pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 0.000000 1 0.726803 0.000000 1 +eks pan 2 0.7586799647899636 0.5221511083334797 0.758680 0.000000 1 0.522151 0.000000 1 +wye wye 3 0.20460330576630303 0.33831852551664776 0.204603 0.000000 1 0.338319 0.000000 1 eks wye 4 0.38139939387114097 0.13418874328430463 1.140079 -0.377281 2 0.656340 -0.387962 2 wye pan 5 0.5732889198020006 0.8636244699032729 0.777892 0.368686 2 1.201943 0.525306 2 -zee pan 6 0.5271261600918548 0.49322128674835697 0.527126 0.527126 1 0.493221 0.493221 1 +zee pan 6 0.5271261600918548 0.49322128674835697 0.527126 0.000000 1 0.493221 0.000000 1 eks zee 7 0.6117840605678454 0.1878849191181694 1.751863 0.230385 3 0.844225 0.053696 3 zee wye 8 0.5985540091064224 0.976181385699006 1.125680 0.071428 2 1.469403 0.482960 2 -hat wye 9 0.03144187646093577 0.7495507603507059 0.031442 0.031442 1 0.749551 0.749551 1 +hat wye 9 0.03144187646093577 0.7495507603507059 0.031442 0.000000 1 0.749551 0.000000 1 pan wye 10 0.5026260055412137 0.9526183602969864 0.849416 0.155836 2 1.679421 0.225815 2 -mlr --opprint histogram -f x,y --lo 0 --hi 1 --nbins 20 ./test/input/small +mlr --opprint histogram -f x,y --lo 0 --hi 1 --nbins 20 ./reg_test/input/small bin_lo bin_hi x_count y_count 0.000000 0.050000 1 0 0.050000 0.100000 0 0 @@ -937,7 +937,7 @@ bin_lo bin_hi x_count y_count ================================================================ DSLs -mlr filter $x>.3 ./test/input/abixy +mlr filter $x>.3 ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 @@ -947,7 +947,7 @@ a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr filter $x>0.3 ./test/input/abixy +mlr filter $x>0.3 ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 @@ -957,7 +957,7 @@ a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr filter $x>0.3 && $y>0.3 ./test/input/abixy +mlr filter $x>0.3 && $y>0.3 ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729 @@ -965,7 +965,7 @@ a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr filter $x>0.3 || $y>0.3 ./test/input/abixy +mlr filter $x>0.3 || $y>0.3 ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -977,15 +977,15 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 -mlr filter NR>=4 && NR <= 7 ./test/input/abixy +mlr filter NR>=4 && NR <= 7 ./reg_test/input/abixy a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463 a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729 a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697 a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694 -mlr filter $nosuchfield>.3 ./test/input/abixy +mlr filter $nosuchfield>.3 ./reg_test/input/abixy -mlr put $x2 = $x**2 ./test/input/abixy +mlr put $x2 = $x**2 ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,x2=0.120263 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,x2=0.575595 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,x2=0.041863 @@ -997,7 +997,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006,x2=0.358267 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059,x2=0.000989 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864,x2=0.252633 -mlr put $z = -0.024*$x+0.13 ./test/input/abixy +mlr put $z = -0.024*$x+0.13 ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,z=0.121677 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,z=0.111792 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,z=0.125090 @@ -1009,7 +1009,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006,z=0.115635 a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059,z=0.129245 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864,z=0.117937 -mlr put $c = $a . $b ./test/input/abixy +mlr put $c = $a . $b ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,c=panpan a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,c=ekspan a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,c=wyewye @@ -1021,7 +1021,7 @@ a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006,c=zeewye a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059,c=hatwye a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864,c=panwye -mlr --opprint put $nr=NR;$fnr=FNR;$nf=NF;$filenum=FILENUM ./test/input/abixy ./test/input/abixy +mlr --opprint put $nr=NR;$fnr=FNR;$nf=NF;$filenum=FILENUM ./reg_test/input/abixy ./reg_test/input/abixy a b i x y nr fnr nf filenum pan pan 1 0.3467901443380824 0.7268028627434533 1 1 7 1 eks pan 2 0.7586799647899636 0.5221511083334797 2 2 7 1 @@ -1490,7 +1490,7 @@ mlr filter -v $x<$a*$b+-$c /dev/null - (operator): c (field_name). -mlr --csvlite put $gmt=sec2gmt($sec) ./test/input/sec2gmt +mlr --csvlite put $gmt=sec2gmt($sec) ./reg_test/input/sec2gmt sec,gmt 0,1970-01-01T00:00:00Z 1,1970-01-01T00:00:01Z @@ -1507,7 +1507,7 @@ sec,gmt 1500000000,2017-07-14T02:40:00Z 2000000000,2033-05-18T03:33:20Z -mlr --csvlite put $sec=gmt2sec($gmt) ./test/input/gmt2sec +mlr --csvlite put $sec=gmt2sec($gmt) ./reg_test/input/gmt2sec gmt,sec 1970-01-01T00:00:00Z,0 1970-01-01T00:00:01Z,1 @@ -1524,7 +1524,7 @@ gmt,sec 2017-07-14T02:40:00Z,1500000000 2033-05-18T03:33:20Z,2000000000 -mlr put $z=min($x, $y) ./test/input/minmax.dkvp +mlr put $z=min($x, $y) ./reg_test/input/minmax.dkvp x=1,y=2,z=1.000000 x=1,y=,z=1.000000 x=,y=,z= @@ -1534,7 +1534,7 @@ x=3,y=,z=3.000000 x=,y=,z= x=,y=2,z=2.000000 -mlr put $z=max($x, $y) ./test/input/minmax.dkvp +mlr put $z=max($x, $y) ./reg_test/input/minmax.dkvp x=1,y=2,z=2.000000 x=1,y=,z=1.000000 x=,y=,z= @@ -1544,7 +1544,7 @@ x=3,y=,z=3.000000 x=,y=,z= x=,y=2,z=2.000000 -mlr --opprint put $hms=sec2hms($sec); $resec=hms2sec($hms); $diff=$resec-$sec ./test/input/sec2xhms +mlr --opprint put $hms=sec2hms($sec); $resec=hms2sec($hms); $diff=$resec-$sec ./reg_test/input/sec2xhms sec hms resec diff 0 00:00:00 0 0.000000 1 00:00:01 1 0.000000 @@ -1574,7 +1574,7 @@ sec hms resec diff -864000 -240:00:00 -864000 0.000000 -864001 -240:00:01 -864001 0.000000 -mlr --opprint put $hms=fsec2hms($sec); $resec=hms2fsec($hms); $diff=$resec-$sec ./test/input/fsec2xhms +mlr --opprint put $hms=fsec2hms($sec); $resec=hms2fsec($hms); $diff=$resec-$sec ./reg_test/input/fsec2xhms sec hms resec diff 0.25 0:00:00.250000 0.250000 0.000000 1.25 0:00:01.250000 1.250000 0.000000 @@ -1605,7 +1605,7 @@ sec hms resec diff -864000.25 -240:00:00.250000 -864000.250000 0.000000 -864001.25 -240:00:01.250000 -864001.250000 0.000000 -mlr --opprint put $hms=sec2dhms($sec); $resec=dhms2sec($hms); $diff=$resec-$sec ./test/input/sec2xhms +mlr --opprint put $hms=sec2dhms($sec); $resec=dhms2sec($hms); $diff=$resec-$sec ./reg_test/input/sec2xhms sec hms resec diff 0 0s 0 0.000000 1 1s 1 0.000000 @@ -1635,7 +1635,7 @@ sec hms resec diff -864000 -10d00h00m00s -864000 0.000000 -864001 -10d00h00m01s -864001 0.000000 -mlr --opprint put $hms=fsec2dhms($sec); $resec=dhms2fsec($hms); $diff=$resec-$sec ./test/input/fsec2xhms +mlr --opprint put $hms=fsec2dhms($sec); $resec=dhms2fsec($hms); $diff=$resec-$sec ./reg_test/input/fsec2xhms sec hms resec diff 0.25 0.250000s 0.250000 0.000000 1.25 1.250000s 1.250000 0.000000 @@ -1670,62 +1670,62 @@ sec hms resec diff ================================================================ CHAINING -mlr cat then cat ./test/input/short +mlr cat then cat ./reg_test/input/short a=1 b=2 c=3 -mlr cat then tac ./test/input/short +mlr cat then tac ./reg_test/input/short c=3 b=2 a=1 -mlr tac then cat ./test/input/short +mlr tac then cat ./reg_test/input/short c=3 b=2 a=1 -mlr tac then tac ./test/input/short +mlr tac then tac ./reg_test/input/short a=1 b=2 c=3 -mlr cat then cat then cat ./test/input/short +mlr cat then cat then cat ./reg_test/input/short a=1 b=2 c=3 -mlr cat then cat then tac ./test/input/short +mlr cat then cat then tac ./reg_test/input/short c=3 b=2 a=1 -mlr cat then tac then cat ./test/input/short +mlr cat then tac then cat ./reg_test/input/short c=3 b=2 a=1 -mlr cat then tac then tac ./test/input/short +mlr cat then tac then tac ./reg_test/input/short a=1 b=2 c=3 -mlr tac then cat then cat ./test/input/short +mlr tac then cat then cat ./reg_test/input/short c=3 b=2 a=1 -mlr tac then cat then tac ./test/input/short +mlr tac then cat then tac ./reg_test/input/short a=1 b=2 c=3 -mlr tac then tac then cat ./test/input/short +mlr tac then tac then cat ./reg_test/input/short a=1 b=2 c=3 -mlr tac then tac then tac ./test/input/short +mlr tac then tac then tac ./reg_test/input/short c=3 b=2 a=1 @@ -1734,41 +1734,41 @@ a=1 ================================================================ HET-CSV INPUT -mlr --icsvlite --odkvp cat ./test/input/a.csv +mlr --icsvlite --odkvp cat ./reg_test/input/a.csv a=1,b=2,c=3 a=4,b=5,c=6 -mlr --icsvlite --odkvp cat ./test/input/b.csv +mlr --icsvlite --odkvp cat ./reg_test/input/b.csv d=5,e=6,f=7 -mlr --icsvlite --odkvp cat ./test/input/c.csv +mlr --icsvlite --odkvp cat ./reg_test/input/c.csv a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 -mlr --icsvlite --odkvp cat ./test/input/d.csv +mlr --icsvlite --odkvp cat ./reg_test/input/d.csv h=3,i=4,j=5 m=8,n=9,o=10 -mlr --icsvlite --odkvp cat ./test/input/e.csv +mlr --icsvlite --odkvp cat ./reg_test/input/e.csv a=1,b=2,c=3 a=4,b=5,c=6 -mlr --icsvlite --odkvp cat ./test/input/f.csv +mlr --icsvlite --odkvp cat ./reg_test/input/f.csv -mlr --icsvlite --odkvp cat ./test/input/g.csv +mlr --icsvlite --odkvp cat ./reg_test/input/g.csv -mlr --icsvlite --odkvp cat ./test/input/a.csv ./test/input/a.csv +mlr --icsvlite --odkvp cat ./reg_test/input/a.csv ./reg_test/input/a.csv a=1,b=2,c=3 a=4,b=5,c=6 a=1,b=2,c=3 a=4,b=5,c=6 -mlr --icsvlite --odkvp cat ./test/input/b.csv ./test/input/b.csv +mlr --icsvlite --odkvp cat ./reg_test/input/b.csv ./reg_test/input/b.csv d=5,e=6,f=7 d=5,e=6,f=7 -mlr --icsvlite --odkvp cat ./test/input/c.csv ./test/input/c.csv +mlr --icsvlite --odkvp cat ./reg_test/input/c.csv ./reg_test/input/c.csv a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 @@ -1776,53 +1776,53 @@ a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 -mlr --icsvlite --odkvp cat ./test/input/d.csv ./test/input/d.csv +mlr --icsvlite --odkvp cat ./reg_test/input/d.csv ./reg_test/input/d.csv h=3,i=4,j=5 m=8,n=9,o=10 h=3,i=4,j=5 m=8,n=9,o=10 -mlr --icsvlite --odkvp cat ./test/input/e.csv ./test/input/e.csv +mlr --icsvlite --odkvp cat ./reg_test/input/e.csv ./reg_test/input/e.csv a=1,b=2,c=3 a=4,b=5,c=6 a=1,b=2,c=3 a=4,b=5,c=6 -mlr --icsvlite --odkvp cat ./test/input/f.csv ./test/input/f.csv +mlr --icsvlite --odkvp cat ./reg_test/input/f.csv ./reg_test/input/f.csv -mlr --icsvlite --odkvp cat ./test/input/g.csv ./test/input/g.csv +mlr --icsvlite --odkvp cat ./reg_test/input/g.csv ./reg_test/input/g.csv -mlr --icsvlite --odkvp cat ./test/input/a.csv ./test/input/b.csv +mlr --icsvlite --odkvp cat ./reg_test/input/a.csv ./reg_test/input/b.csv a=1,b=2,c=3 a=4,b=5,c=6 d=5,e=6,f=7 -mlr --icsvlite --odkvp cat ./test/input/b.csv ./test/input/c.csv +mlr --icsvlite --odkvp cat ./reg_test/input/b.csv ./reg_test/input/c.csv d=5,e=6,f=7 a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 -mlr --icsvlite --odkvp cat ./test/input/c.csv ./test/input/d.csv +mlr --icsvlite --odkvp cat ./reg_test/input/c.csv ./reg_test/input/d.csv a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 h=3,i=4,j=5 m=8,n=9,o=10 -mlr --icsvlite --odkvp cat ./test/input/d.csv ./test/input/e.csv +mlr --icsvlite --odkvp cat ./reg_test/input/d.csv ./reg_test/input/e.csv h=3,i=4,j=5 m=8,n=9,o=10 a=1,b=2,c=3 a=4,b=5,c=6 -mlr --icsvlite --odkvp cat ./test/input/e.csv ./test/input/f.csv +mlr --icsvlite --odkvp cat ./reg_test/input/e.csv ./reg_test/input/f.csv a=1,b=2,c=3 a=4,b=5,c=6 -mlr --icsvlite --odkvp cat ./test/input/f.csv ./test/input/g.csv +mlr --icsvlite --odkvp cat ./reg_test/input/f.csv ./reg_test/input/g.csv -mlr --icsvlite --odkvp cat ./test/input/a.csv ./test/input/b.csv ./test/input/c.csv ./test/input/d.csv ./test/input/e.csv ./test/input/f.csv ./test/input/g.csv +mlr --icsvlite --odkvp cat ./reg_test/input/a.csv ./reg_test/input/b.csv ./reg_test/input/c.csv ./reg_test/input/d.csv ./reg_test/input/e.csv ./reg_test/input/f.csv ./reg_test/input/g.csv a=1,b=2,c=3 a=4,b=5,c=6 d=5,e=6,f=7 @@ -1834,7 +1834,7 @@ m=8,n=9,o=10 a=1,b=2,c=3 a=4,b=5,c=6 -mlr --icsvlite --odkvp tac ./test/input/het.csv +mlr --icsvlite --odkvp tac ./reg_test/input/het.csv resource=/some/other/path,loadsec=0.97,ok=false record_count=150,resource=/path/to/second/file resource=/path/to/second/file,loadsec=0.32,ok=true @@ -1845,41 +1845,41 @@ resource=/path/to/file,loadsec=0.45,ok=true ================================================================ HET-PPRINT INPUT -mlr --ipprint --odkvp cat ./test/input/a.pprint +mlr --ipprint --odkvp cat ./reg_test/input/a.pprint a=1,b=2,c=3 a=4,b=5,c=6 -mlr --ipprint --odkvp cat ./test/input/b.pprint +mlr --ipprint --odkvp cat ./reg_test/input/b.pprint d=5,e=6,f=7 -mlr --ipprint --odkvp cat ./test/input/c.pprint +mlr --ipprint --odkvp cat ./reg_test/input/c.pprint a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 -mlr --ipprint --odkvp cat ./test/input/d.pprint +mlr --ipprint --odkvp cat ./reg_test/input/d.pprint h=3,i=4,j=5 m=8,n=9,o=10 -mlr --ipprint --odkvp cat ./test/input/e.pprint +mlr --ipprint --odkvp cat ./reg_test/input/e.pprint a=1,b=2,c=3 a=4,b=5,c=6 -mlr --ipprint --odkvp cat ./test/input/f.pprint +mlr --ipprint --odkvp cat ./reg_test/input/f.pprint -mlr --ipprint --odkvp cat ./test/input/g.pprint +mlr --ipprint --odkvp cat ./reg_test/input/g.pprint -mlr --ipprint --odkvp cat ./test/input/a.pprint ./test/input/a.pprint +mlr --ipprint --odkvp cat ./reg_test/input/a.pprint ./reg_test/input/a.pprint a=1,b=2,c=3 a=4,b=5,c=6 a=1,b=2,c=3 a=4,b=5,c=6 -mlr --ipprint --odkvp cat ./test/input/b.pprint ./test/input/b.pprint +mlr --ipprint --odkvp cat ./reg_test/input/b.pprint ./reg_test/input/b.pprint d=5,e=6,f=7 d=5,e=6,f=7 -mlr --ipprint --odkvp cat ./test/input/c.pprint ./test/input/c.pprint +mlr --ipprint --odkvp cat ./reg_test/input/c.pprint ./reg_test/input/c.pprint a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 @@ -1887,53 +1887,53 @@ a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 -mlr --ipprint --odkvp cat ./test/input/d.pprint ./test/input/d.pprint +mlr --ipprint --odkvp cat ./reg_test/input/d.pprint ./reg_test/input/d.pprint h=3,i=4,j=5 m=8,n=9,o=10 h=3,i=4,j=5 m=8,n=9,o=10 -mlr --ipprint --odkvp cat ./test/input/e.pprint ./test/input/e.pprint +mlr --ipprint --odkvp cat ./reg_test/input/e.pprint ./reg_test/input/e.pprint a=1,b=2,c=3 a=4,b=5,c=6 a=1,b=2,c=3 a=4,b=5,c=6 -mlr --ipprint --odkvp cat ./test/input/f.pprint ./test/input/f.pprint +mlr --ipprint --odkvp cat ./reg_test/input/f.pprint ./reg_test/input/f.pprint -mlr --ipprint --odkvp cat ./test/input/g.pprint ./test/input/g.pprint +mlr --ipprint --odkvp cat ./reg_test/input/g.pprint ./reg_test/input/g.pprint -mlr --ipprint --odkvp cat ./test/input/a.pprint ./test/input/b.pprint +mlr --ipprint --odkvp cat ./reg_test/input/a.pprint ./reg_test/input/b.pprint a=1,b=2,c=3 a=4,b=5,c=6 d=5,e=6,f=7 -mlr --ipprint --odkvp cat ./test/input/b.pprint ./test/input/c.pprint +mlr --ipprint --odkvp cat ./reg_test/input/b.pprint ./reg_test/input/c.pprint d=5,e=6,f=7 a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 -mlr --ipprint --odkvp cat ./test/input/c.pprint ./test/input/d.pprint +mlr --ipprint --odkvp cat ./reg_test/input/c.pprint ./reg_test/input/d.pprint a=1,b=2,c=3 a=4,b=5,c=6 a=7,b=8,c=9 h=3,i=4,j=5 m=8,n=9,o=10 -mlr --ipprint --odkvp cat ./test/input/d.pprint ./test/input/e.pprint +mlr --ipprint --odkvp cat ./reg_test/input/d.pprint ./reg_test/input/e.pprint h=3,i=4,j=5 m=8,n=9,o=10 a=1,b=2,c=3 a=4,b=5,c=6 -mlr --ipprint --odkvp cat ./test/input/e.pprint ./test/input/f.pprint +mlr --ipprint --odkvp cat ./reg_test/input/e.pprint ./reg_test/input/f.pprint a=1,b=2,c=3 a=4,b=5,c=6 -mlr --ipprint --odkvp cat ./test/input/f.pprint ./test/input/g.pprint +mlr --ipprint --odkvp cat ./reg_test/input/f.pprint ./reg_test/input/g.pprint -mlr --ipprint --odkvp cat ./test/input/a.pprint ./test/input/b.pprint ./test/input/c.pprint ./test/input/d.pprint ./test/input/e.pprint ./test/input/f.pprint ./test/input/g.pprint +mlr --ipprint --odkvp cat ./reg_test/input/a.pprint ./reg_test/input/b.pprint ./reg_test/input/c.pprint ./reg_test/input/d.pprint ./reg_test/input/e.pprint ./reg_test/input/f.pprint ./reg_test/input/g.pprint a=1,b=2,c=3 a=4,b=5,c=6 d=5,e=6,f=7 @@ -1949,21 +1949,21 @@ a=4,b=5,c=6 ================================================================ NULL-FIELD INPUT -mlr --icsvlite --odkvp cat ./test/input/null-fields.csv +mlr --icsvlite --odkvp cat ./reg_test/input/null-fields.csv a=1,b=2,c=3,d=4,e=5 a=6,b=,c=,d=,e=10 a=,b=,c=,d=11,e=12 a=13,b=14,c=,d=,e= a=,b=,c=,d=,e= -mlr --inidx --ifs comma --odkvp cat ./test/input/null-fields.nidx +mlr --inidx --ifs comma --odkvp cat ./reg_test/input/null-fields.nidx 1=a,2=b,3=c,4=d,5=e 1=f,2=,3=,4=,5=g 1=,2=,3=,4=h,5=i 1=j,2=k,3=,4=,5= 1=,2=,3=,4=,5= -mlr --idkvp --oxtab cat ./test/input/missings.dkvp +mlr --idkvp --oxtab cat ./reg_test/input/missings.dkvp a 1 b 2 c 3 @@ -1991,38 +1991,38 @@ f 6 ================================================================ SPACE-PADDING -mlr --mmap --idkvp --odkvp --ifs space --repifs cat ./test/input/space-pad.dkvp +mlr --mmap --idkvp --odkvp --ifs space --repifs cat ./reg_test/input/space-pad.dkvp a=1,b=2 c=3 -mlr --no-mmap --idkvp --odkvp --ifs space --repifs cat ./test/input/space-pad.dkvp +mlr --no-mmap --idkvp --odkvp --ifs space --repifs cat ./reg_test/input/space-pad.dkvp a=1,b=2 c=3 -mlr --mmap --inidx --odkvp --ifs space --repifs cat ./test/input/space-pad.nidx +mlr --mmap --inidx --odkvp --ifs space --repifs cat ./reg_test/input/space-pad.nidx 1=a,2=b,3=c 1=d,2=e,3=f -mlr --no-mmap --inidx --odkvp --ifs space --repifs cat ./test/input/space-pad.nidx +mlr --no-mmap --inidx --odkvp --ifs space --repifs cat ./reg_test/input/space-pad.nidx 1=a,2=b,3=c 1=d,2=e,3=f -mlr --mmap --icsvlite --odkvp --ifs space --repifs cat ./test/input/space-pad.pprint +mlr --mmap --icsvlite --odkvp --ifs space --repifs cat ./reg_test/input/space-pad.pprint a=1,b=2,c=3 -mlr --no-mmap --icsvlite --odkvp --ifs space --repifs cat ./test/input/space-pad.pprint +mlr --no-mmap --icsvlite --odkvp --ifs space --repifs cat ./reg_test/input/space-pad.pprint a=1,b=2,c=3 ================================================================ DOUBLE PS -mlr --no-mmap --opprint cat ./test/input/double-ps.dkvp +mlr --no-mmap --opprint cat ./reg_test/input/double-ps.dkvp a b c pan wy.e 3 pan wy=e 3 -mlr --mmap --opprint cat ./test/input/double-ps.dkvp +mlr --mmap --opprint cat ./reg_test/input/double-ps.dkvp a b c pan wy.e 3 pan wy=e 3 @@ -2031,47 +2031,47 @@ pan wy=e 3 ================================================================ MISSING FINAL LF -mlr --no-mmap --csvlite cat ./test/input/truncated.csv +mlr --no-mmap --csvlite cat ./reg_test/input/truncated.csv a,b,c 1,2,3 4,5,6 7,8,9 -mlr --csvlite cat ./test/input/truncated.csv +mlr --csvlite cat ./reg_test/input/truncated.csv a,b,c 1,2,3 4,5,6 7,8,9 -mlr --no-mmap --dkvp cat ./test/input/truncated.dkvp +mlr --no-mmap --dkvp cat ./reg_test/input/truncated.dkvp a=1,b=2 c=3 -mlr --dkvp cat ./test/input/truncated.dkvp +mlr --dkvp cat ./reg_test/input/truncated.dkvp a=1,b=2 c=3 -mlr --no-mmap --nidx cat ./test/input/truncated.nidx +mlr --no-mmap --nidx cat ./reg_test/input/truncated.nidx 1 2 3 4 5 -mlr --nidx cat ./test/input/truncated.nidx +mlr --nidx cat ./reg_test/input/truncated.nidx 1 2 3 4 5 -mlr --no-mmap --pprint cat ./test/input/truncated.pprint +mlr --no-mmap --pprint cat ./reg_test/input/truncated.pprint a b c 1 2 3 4 5 6 7 8 9 -mlr --pprint cat ./test/input/truncated.pprint +mlr --pprint cat ./reg_test/input/truncated.pprint a b c 1 2 3 4 5 6 7 8 9 -mlr --no-mmap --xtab cat ./test/input/truncated.xtab +mlr --no-mmap --xtab cat ./reg_test/input/truncated.xtab a 1 b 2 c 3 @@ -2079,7 +2079,7 @@ c 3 d 4 e 5 -mlr --xtab cat ./test/input/truncated.xtab +mlr --xtab cat ./reg_test/input/truncated.xtab a 1 b 2 c 3 @@ -2091,39 +2091,39 @@ e 5 ================================================================ UTF-8 alignment -mlr --icsvlite --opprint cat ./test/input/utf8-1.csv +mlr --icsvlite --opprint cat ./reg_test/input/utf8-1.csv langue nom jour français françois vendredi -mlr --icsvlite --opprint cat ./test/input/utf8-2.csv +mlr --icsvlite --opprint cat ./reg_test/input/utf8-2.csv français françois vendredi langue nom jour -mlr --icsvlite --oxtab cat ./test/input/utf8-1.csv +mlr --icsvlite --oxtab cat ./reg_test/input/utf8-1.csv langue français nom françois jour vendredi -mlr --icsvlite --oxtab cat ./test/input/utf8-2.csv +mlr --icsvlite --oxtab cat ./reg_test/input/utf8-2.csv français langue françois nom vendredi jour -mlr --inidx --ifs space --opprint cat ./test/input/utf8-align.nidx +mlr --inidx --ifs space --opprint cat ./reg_test/input/utf8-align.nidx 1 2 191º test 191 test2 francois français françois francais -mlr --inidx --ifs space --opprint --right cat ./test/input/utf8-align.nidx +mlr --inidx --ifs space --opprint --right cat ./reg_test/input/utf8-align.nidx 1 2 191º test 191 test2 francois français françois francais -mlr --oxtab cat ./test/input/utf8-align.dkvp +mlr --oxtab cat ./reg_test/input/utf8-align.dkvp 191º test 1912 test2 cois çais @@ -2153,54 +2153,54 @@ x,y"yy,z ================================================================ RFC-CSV -mlr --csv cat ./test/input/rfc-csv/simple.csv +mlr --csv cat ./reg_test/input/rfc-csv/simple.csv a,b,c 1,x,3 4,5,6 x,y"yy,z -mlr --csv cat ./test/input/rfc-csv/simple-truncated.csv +mlr --csv cat ./reg_test/input/rfc-csv/simple-truncated.csv a,b,c 1,x,3 4,5,6 -mlr --csv cat ./test/input/rfc-csv/narrow.csv +mlr --csv cat ./reg_test/input/rfc-csv/narrow.csv a 1 2 3 4 -mlr --csv cat ./test/input/rfc-csv/narrow-truncated.csv +mlr --csv cat ./reg_test/input/rfc-csv/narrow-truncated.csv a 1 2 3 4 -mlr --csv cat ./test/input/rfc-csv/quoted-comma.csv +mlr --csv cat ./reg_test/input/rfc-csv/quoted-comma.csv a,b,c 1,"x,3",y 4,5,6 -mlr --csv cat ./test/input/rfc-csv/quoted-comma-truncated.csv +mlr --csv cat ./reg_test/input/rfc-csv/quoted-comma-truncated.csv a,b,c 1,"x,3",y 4,5,6 -mlr --csv cat ./test/input/rfc-csv/quoted-crlf.csv +mlr --csv cat ./reg_test/input/rfc-csv/quoted-crlf.csv a,b,c 1,"x 3",y 4,5,6 -mlr --csv cat ./test/input/rfc-csv/quoted-crlf-truncated.csv +mlr --csv cat ./reg_test/input/rfc-csv/quoted-crlf-truncated.csv a,b,c 1,"x 3",y 4,5,6 -mlr --csv cat ./test/input/rfc-csv/simple-truncated.csv ./test/input/rfc-csv/simple.csv +mlr --csv cat ./reg_test/input/rfc-csv/simple-truncated.csv ./reg_test/input/rfc-csv/simple.csv a,b,c 1,x,3 4,5,6 @@ -2208,7 +2208,7 @@ a,b,c 4,5,6 x,y"yy,z -mlr --csv --ifs semicolon --ofs pipe --irs lf --ors lflf cut -x -f b ./test/input/rfc-csv/modify-defaults.csv +mlr --csv --ifs semicolon --ofs pipe --irs lf --ors lflf cut -x -f b ./reg_test/input/rfc-csv/modify-defaults.csv a|c 1|3 @@ -2220,7 +2220,7 @@ a|c ================================================================ MULTI-CHARACTER IRS/IFS/IPS FOR DKVP -mlr --oxtab --idkvp --mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --idkvp --mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x :0.641593543645736508/ a :wye/ i :0/ @@ -2241,7 +2241,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x 0.641593543645736508 a wye i 0 @@ -2262,7 +2262,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --idkvp --mmap --irs crlf --ifs , --ips = cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --idkvp --mmap --irs crlf --ifs , --ips = cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x :0.641593543645736508/ a :wye/ i :0/ @@ -2283,7 +2283,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --idkvp --mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --idkvp --mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x 0.641593543645736508 a wye i 0 @@ -2304,7 +2304,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --no-mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --no-mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x :0.641593543645736508/ a :wye/ i :0/ @@ -2325,7 +2325,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --no-mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --no-mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x 0.641593543645736508 a wye i 0 @@ -2346,7 +2346,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --no-mmap --irs crlf --ifs , --ips = cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --no-mmap --irs crlf --ifs , --ips = cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x :0.641593543645736508/ a :wye/ i :0/ @@ -2367,7 +2367,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --no-mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --no-mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x 0.641593543645736508 a wye i 0 @@ -2392,7 +2392,7 @@ i 4 ================================================================ MULTI-CHARACTER IRS/IFS FOR NIDX -mlr --oxtab --inidx --mmap --irs lf --ifs , cut -o -f 4,1,3 ./test/input/multi-sep.dkvp +mlr --oxtab --inidx --mmap --irs lf --ifs , cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp 4 x=:0.641593543645736508/ 1 a=:wye/ 3 i=:0/ @@ -2413,7 +2413,7 @@ mlr --oxtab --inidx --mmap --irs lf --ifs , cut -o -f 4,1,3 ./test/input/multi-s 1 a=:zee/ 3 i=:4/ -mlr --oxtab --inidx --mmap --irs lf --ifs /, cut -o -f 4,1,3 ./test/input/multi-sep.dkvp +mlr --oxtab --inidx --mmap --irs lf --ifs /, cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp 4 x=:0.641593543645736508 1 a=:wye 3 i=:0 @@ -2434,7 +2434,7 @@ mlr --oxtab --inidx --mmap --irs lf --ifs /, cut -o -f 4,1,3 ./test/input/multi- 1 a=:zee 3 i=:4 -mlr --oxtab --inidx --mmap --irs crlf --ifs , cut -o -f 4,1,3 ./test/input/multi-sep.dkvp +mlr --oxtab --inidx --mmap --irs crlf --ifs , cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp 4 x=:0.641593543645736508/ 1 a=:wye/ 3 i=:0/ @@ -2455,7 +2455,7 @@ mlr --oxtab --inidx --mmap --irs crlf --ifs , cut -o -f 4,1,3 ./test/input/multi 1 a=:zee/ 3 i=:4/ -mlr --oxtab --inidx --mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./test/input/multi-sep.dkvp +mlr --oxtab --inidx --mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp 4 x=:0.641593543645736508 1 a=:wye 3 i=:0 @@ -2476,7 +2476,7 @@ mlr --oxtab --inidx --mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./test/input/mult 1 a=:zee 3 i=:4 -mlr --oxtab --inidx --no-mmap --irs lf --ifs , cut -o -f 4,1,3 ./test/input/multi-sep.dkvp +mlr --oxtab --inidx --no-mmap --irs lf --ifs , cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp 4 x=:0.641593543645736508/ 1 a=:wye/ 3 i=:0/ @@ -2497,7 +2497,7 @@ mlr --oxtab --inidx --no-mmap --irs lf --ifs , cut -o -f 4,1,3 ./test/input/mult 1 a=:zee/ 3 i=:4/ -mlr --oxtab --inidx --no-mmap --irs lf --ifs /, cut -o -f 4,1,3 ./test/input/multi-sep.dkvp +mlr --oxtab --inidx --no-mmap --irs lf --ifs /, cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp 4 x=:0.641593543645736508 1 a=:wye 3 i=:0 @@ -2518,7 +2518,7 @@ mlr --oxtab --inidx --no-mmap --irs lf --ifs /, cut -o -f 4,1,3 ./test/input/mul 1 a=:zee 3 i=:4 -mlr --oxtab --inidx --no-mmap --irs crlf --ifs , cut -o -f 4,1,3 ./test/input/multi-sep.dkvp +mlr --oxtab --inidx --no-mmap --irs crlf --ifs , cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp 4 x=:0.641593543645736508/ 1 a=:wye/ 3 i=:0/ @@ -2539,7 +2539,7 @@ mlr --oxtab --inidx --no-mmap --irs crlf --ifs , cut -o -f 4,1,3 ./test/input/mu 1 a=:zee/ 3 i=:4/ -mlr --oxtab --inidx --no-mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./test/input/multi-sep.dkvp +mlr --oxtab --inidx --no-mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp 4 x=:0.641593543645736508 1 a=:wye 3 i=:0 @@ -2564,7 +2564,7 @@ mlr --oxtab --inidx --no-mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./test/input/m ================================================================ MULTI-CHARACTER IRS/IFS FOR CSVLITE -mlr --oxtab --icsvlite --mmap --irs lf --ifs , cut -o -f x/,a/,i/ ./test/input/multi-sep.csvl +mlr --oxtab --icsvlite --mmap --irs lf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csvl x/ 0.641593543645736508/ a/ wye/ i/ 0/ @@ -2585,7 +2585,7 @@ x/ 0.676537984365847889/ a/ zee/ i/ 4/ -mlr --oxtab --icsvlite --mmap --irs lf --ifs /, cut -o -f x,a,i ./test/input/multi-sep.csvl +mlr --oxtab --icsvlite --mmap --irs lf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csvl x 0.641593543645736508 a wye i 0 @@ -2606,7 +2606,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --icsvlite --mmap --irs crlf --ifs , cut -o -f x/,a/,i/ ./test/input/multi-sep.csvl +mlr --oxtab --icsvlite --mmap --irs crlf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csvl x/ 0.641593543645736508/ a/ wye/ i/ 0/ @@ -2627,7 +2627,7 @@ x/ 0.676537984365847889/ a/ zee/ i/ 4/ -mlr --oxtab --icsvlite --mmap --irs crlf --ifs /, cut -o -f x,a,i ./test/input/multi-sep.csvl +mlr --oxtab --icsvlite --mmap --irs crlf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csvl x 0.641593543645736508 a wye i 0 @@ -2648,7 +2648,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --icsvlite --no-mmap --irs lf --ifs , cut -o -f x/,a/,i/ ./test/input/multi-sep.csvl +mlr --oxtab --icsvlite --no-mmap --irs lf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csvl x/ 0.641593543645736508/ a/ wye/ i/ 0/ @@ -2669,7 +2669,7 @@ x/ 0.676537984365847889/ a/ zee/ i/ 4/ -mlr --oxtab --icsvlite --no-mmap --irs lf --ifs /, cut -o -f x,a,i ./test/input/multi-sep.csvl +mlr --oxtab --icsvlite --no-mmap --irs lf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csvl x 0.641593543645736508 a wye i 0 @@ -2690,7 +2690,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs , cut -o -f x/,a/,i/ ./test/input/multi-sep.csvl +mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csvl x/ 0.641593543645736508/ a/ wye/ i/ 0/ @@ -2711,7 +2711,7 @@ x/ 0.676537984365847889/ a/ zee/ i/ 4/ -mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs /, cut -o -f x,a,i ./test/input/multi-sep.csvl +mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csvl x 0.641593543645736508 a wye i 0 @@ -2736,32 +2736,32 @@ i 4 ================================================================ MULTI-CHARACTER SEPARATORS FOR XTAB -mlr --mmap --xtab --ifs crlf --ofs Z cut -x -f b ./test/input/truncated.xtab-crlf +mlr --mmap --xtab --ifs crlf --ofs Z cut -x -f b ./reg_test/input/truncated.xtab-crlf a 1Zc 3ZZd 4Ze 5Z -mlr --no-mmap --xtab --ifs crlf --ofs Z cut -x -f b ./test/input/truncated.xtab-crlf +mlr --no-mmap --xtab --ifs crlf --ofs Z cut -x -f b ./reg_test/input/truncated.xtab-crlf a 1Zc 3ZZd 4Ze 5Z -mlr --mmap --xtab --ips . --ops @ cut -x -f b ./test/input/dots.xtab +mlr --mmap --xtab --ips . --ops @ cut -x -f b ./reg_test/input/dots.xtab a@1 c@345 defg@6 hi@@@78 -mlr --no-mmap --xtab --ips . --ops @ cut -x -f b ./test/input/dots.xtab +mlr --no-mmap --xtab --ips . --ops @ cut -x -f b ./reg_test/input/dots.xtab a@1 c@345 defg@6 hi@@@78 -mlr --no-mmap --xtab --ips . --ops := cut -x -f b ./test/input/dots.xtab +mlr --no-mmap --xtab --ips . --ops := cut -x -f b ./reg_test/input/dots.xtab a:=1 c:=345 defg:=6 hi:=78 -mlr --xtab --ips : --ops @@@@ put $sum=int($a+$b) ./test/input/multi-ips.dkvp +mlr --xtab --ips : --ops @@@@ put $sum=int($a+$b) ./reg_test/input/multi-ips.dkvp a@@@@1 b@@@@2 sum@@@@3 @@ -2770,7 +2770,7 @@ sum@@@@3 ================================================================ MULTI-CHARACTER IRS FOR PPRINT -mlr --mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b ./test/input/dots.pprint +mlr --mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b ./reg_test/input/dots.pprint a@@@i@@x@@@@@@@@@@@@@@@@@@@y pan@1@@0.3467901443380824@@0.7268028627434533 eks@2@@0.7586799647899636@@0.5221511083334797 @@ -2783,7 +2783,7 @@ zee@8@@0.5985540091064224@@0.976181385699006 hat@9@@0.03144187646093577@0.7495507603507059 pan@10@0.5026260055412137@@0.9526183602969864 -mlr --no-mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b ./test/input/dots.pprint +mlr --no-mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b ./reg_test/input/dots.pprint a@@@i@@x@@@@@@@@@@@@@@@@@@@y pan@1@@0.3467901443380824@@0.7268028627434533 eks@2@@0.7586799647899636@@0.5221511083334797 @@ -2800,7 +2800,7 @@ pan@10@0.5026260055412137@@0.9526183602969864 ================================================================ MULTI-CHARACTER IXS SPECIFIERS -mlr --oxtab --idkvp --mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --idkvp --mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x :0.641593543645736508/ a :wye/ i :0/ @@ -2821,7 +2821,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./test/input/multi-sep.dkvp +mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./reg_test/input/multi-sep.dkvp x 0.641593543645736508 a wye i 0