Created
September 6, 2015 20:56
-
-
Save jungle-boogie/5fe0b5f064a64dcb6dca to your computer and use it in GitHub Desktop.
build fail with test case minmax.dkvp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% make -e CCOMP=clang | |
make -C dsls put_dsl_parse.o | |
clang -o lemon lemon.c | |
lemon.c:2277:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] | |
static preprocess_input(char *z){ | |
~~~~~~ ^ | |
lemon.c:2327:1: warning: control may reach end of non-void function [-Wreturn-type] | |
} | |
^ | |
lemon.c:2863:6: warning: use of out-of-scope declaration of 'access' | |
if (access(buf,004)==0) { | |
^ | |
lemon.c:2758:13: note: previous declaration is here | |
extern int access(); | |
^ | |
lemon.c:2865:13: warning: use of out-of-scope declaration of 'access' | |
} else if (access(templatename,004)==0) { | |
^ | |
lemon.c:2758:13: note: previous declaration is here | |
extern int access(); | |
^ | |
lemon.c:3085:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
5 warnings generated. | |
./lemon put_dsl_parse.y | |
mv put_dsl_parse.c put_dsl_parse.c.tmp | |
sed -e 's/ParseTrace/put_dsl_ParseTrace/g' -e 's/ParseTokenName/put_dsl_ParseTokenName/g' -e 's/lemon_parser_alloc/put_dsl_lemon_parser_alloc/g' -e 's/lemon_parser_free/put_dsl_lemon_parser_free/g' -e 's/lemon_parser_parse_token/put_dsl_lemon_parser_parse_token/g' -e 's/yy_destructor/put_dsl_yy_destructor/g' put_dsl_parse.c.tmp > put_dsl_parse.c | |
rm -f put_dsl_parse.c.tmp | |
clang -I.. -O3 -c -std=gnu99 put_dsl_parse.c | |
make -C dsls put_dsl_lexer.o | |
flex --prefix=put_dsl_lexer_ --outfile=put_dsl_lexer.c --header-file=put_dsl_lexer.h put_dsl_lexer.l | |
clang -I.. -O3 -c -std=gnu99 put_dsl_lexer.c | |
make -C dsls put_dsl_wrapper.o | |
clang -Wall -I.. -O3 -c -std=gnu99 put_dsl_wrapper.c | |
put_dsl_wrapper.c:24:16: warning: implicit declaration of function 'put_dsl_lemon_parser_parse_token' is invalid in C99 [-Wimplicit-function-declaration] | |
parse_code = put_dsl_lemon_parser_parse_token(pvparser, lex_code, plexed_node, pasts); | |
^ | |
put_dsl_wrapper.c:61:2: warning: implicit declaration of function 'put_dsl_lemon_parser_free' is invalid in C99 [-Wimplicit-function-declaration] | |
put_dsl_lemon_parser_free(pvparser, free); | |
^ | |
2 warnings generated. | |
make -C dsls filter_dsl_parse.o | |
./lemon filter_dsl_parse.y | |
mv filter_dsl_parse.c filter_dsl_parse.c.tmp | |
sed -e 's/ParseTrace/filter_dsl_ParseTrace/g' -e 's/ParseTokenName/filter_dsl_ParseTokenName/g' -e 's/lemon_parser_alloc/filter_dsl_lemon_parser_alloc/g' -e 's/lemon_parser_free/filter_dsl_lemon_parser_free/g' -e 's/lemon_parser_parse_token/filter_dsl_lemon_parser_parse_token/g' -e 's/yy_destructor/filter_dsl_yy_destructor/g' filter_dsl_parse.c.tmp > filter_dsl_parse.c | |
rm -f filter_dsl_parse.c.tmp | |
clang -I.. -O3 -c -std=gnu99 filter_dsl_parse.c | |
make -C dsls filter_dsl_lexer.o | |
flex --prefix=filter_dsl_lexer_ --outfile=filter_dsl_lexer.c --header-file=filter_dsl_lexer.h filter_dsl_lexer.l | |
clang -I.. -O3 -c -std=gnu99 filter_dsl_lexer.c | |
make -C dsls filter_dsl_wrapper.o | |
clang -Wall -I.. -O3 -c -std=gnu99 filter_dsl_wrapper.c | |
filter_dsl_wrapper.c:23:16: warning: implicit declaration of function 'filter_dsl_lemon_parser_parse_token' is invalid in C99 [-Wimplicit-function-declaration] | |
parse_code = filter_dsl_lemon_parser_parse_token(pvparser, lex_code, plexed_node, past); | |
^ | |
filter_dsl_wrapper.c:59:2: warning: implicit declaration of function 'filter_dsl_lemon_parser_free' is invalid in C99 [-Wimplicit-function-declaration] | |
filter_dsl_lemon_parser_free(pvparser, free); | |
^ | |
2 warnings generated. | |
clang -std=gnu99 -I. -Wall -Werror -O3 *.c cli/*.c lib/*.c containers/*.c stream/*.c input/*.c mapping/*.c output/*.c ./dsls/put_dsl_parse.o ./dsls/put_dsl_lexer.o ./dsls/put_dsl_wrapper.o ./dsls/filter_dsl_parse.o ./dsls/filter_dsl_lexer.o ./dsls/filter_dsl_wrapper.o -lm -o mlr | |
/tmp/mlr_test_util-c72097.o: In function `write_temp_file_or_die': | |
lib/mlr_test_util.c:(.text+0x19): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() | |
clang -g -std=gnu99 -I. -Wall -Werror -D__TEST_MLRUTIL_MAIN__ lib/mlrutil.c lib/test_mlrutil.c -o test-mlrutil | |
clang -g -std=gnu99 -I. -Wall -Werror -D__TEST_BYTE_READERS_MAIN__ lib/mlrutil.c lib/mlr_test_util.c lib/mlr_globals.c input/string_byte_reader.c input/stdio_byte_reader.c input/mmap_byte_reader.c input/test_byte_readers.c -o test-byte-readers | |
/tmp/mlr_test_util-60720b.o: In function `write_temp_file_or_die': | |
/usr/home/sean/bin/miller/c/lib/mlr_test_util.c:9: warning: warning: mktemp() possibly used unsafely; consider using mkstemp() | |
clang -g -std=gnu99 -I. -Wall -Werror -D__TEST_PARSE_TRIE_MAIN__ lib/mlrutil.c lib/mlr_globals.c containers/parse_trie.c containers/test_parse_trie.c -o test-parse-trie | |
clang -g -std=gnu99 -I. -Wall -Werror -D__TEST_LREC_MAIN__ lib/mlrutil.c lib/mlr_globals.c lib/string_builder.c containers/lrec.c containers/header_keeper.c containers/sllv.c containers/slls.c containers/lhmslv.c input/file_reader_mmap.c input/file_reader_stdio.c input/lrec_reader_stdio_csv.c input/lrec_reader_mmap_csvlite.c input/lrec_reader_stdio_csvlite.c input/old_peek_file_reader.c input/lrec_reader_mmap_dkvp.c input/lrec_reader_stdio_dkvp.c input/lrec_reader_mmap_nidx.c input/lrec_reader_stdio_nidx.c input/lrec_reader_mmap_xtab.c input/lrec_reader_stdio_xtab.c containers/test_lrec.c -o test-lrec | |
clang -g -std=gnu99 -I. -Wall -Werror -D__TEST_STRING_BUILDER_MAIN__ lib/mlrutil.c lib/mlr_globals.c lib/string_builder.c lib/test_string_builder.c -o test-string-builder | |
clang -g -std=gnu99 -I. -Wall -Werror -D__TEST_JOIN_BUCKET_KEEPER_MAIN__ lib/mlrutil.c lib/mlr_globals.c lib/string_builder.c mapping/context.c containers/lrec.c containers/sllv.c containers/slls.c containers/lhmslv.c containers/hss.c containers/mixutil.c containers/header_keeper.c containers/join_bucket_keeper.c input/mmap_byte_reader.c input/stdio_byte_reader.c input/lrec_reader_in_memory.c input/lrec_readers.c input/lrec_reader_stdio_csv.c input/lrec_reader_csvex.c input/lrec_reader_mmap_csvlite.c input/lrec_reader_stdio_csvlite.c input/lrec_reader_mmap_dkvp.c input/lrec_reader_stdio_dkvp.c input/lrec_reader_mmap_nidx.c input/lrec_reader_stdio_nidx.c input/lrec_reader_mmap_xtab.c input/lrec_reader_stdio_xtab.c input/file_reader_mmap.c input/file_reader_stdio.c input/old_peek_file_reader.c input/peek_file_reader.c containers/test_join_bucket_keeper.c -o test-join-bucket-keeper | |
./test-mlrutil | |
TEST_MLRUTIL: ALL UNIT TESTS PASSED | |
Tests passed: 3 of 3 | |
Assertions passed: 22 of 22 | |
./test-byte-readers | |
TEST_BYTE_READERS: ALL UNIT TESTS PASSED | |
Tests passed: 7 of 7 | |
Assertions passed: 74 of 74 | |
./test-parse-trie | |
================================================================ simplest | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
PARSE TRIE DUMP END | |
Adding string[0] = [a] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=a[61],stridx=0,strlen=1 | |
PARSE TRIE DUMP END | |
buf = a | |
rc = 1 | |
stridx = 0 (a) | |
matchlen = 1 | |
================================================================ disjoint | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
PARSE TRIE DUMP END | |
Adding string[0] = [abc] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=a[61],stridx=-1,strlen=-1 | |
c=b[62],stridx=-1,strlen=-1 | |
c=c[63],stridx=0,strlen=3 | |
PARSE TRIE DUMP END | |
Adding string[1] = [fg] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=a[61],stridx=-1,strlen=-1 | |
c=b[62],stridx=-1,strlen=-1 | |
c=c[63],stridx=0,strlen=3 | |
c=f[66],stridx=-1,strlen=-1 | |
c=g[67],stridx=1,strlen=2 | |
PARSE TRIE DUMP END | |
buf = abcde | |
rc = 1 | |
stridx = 0 (abc) | |
matchlen = 3 | |
================================================================ short_long | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
PARSE TRIE DUMP END | |
Adding string[0] = [a] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=a[61],stridx=0,strlen=1 | |
PARSE TRIE DUMP END | |
Adding string[1] = [aa] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=a[61],stridx=0,strlen=1 | |
c=a[61],stridx=1,strlen=2 | |
PARSE TRIE DUMP END | |
buf = aaabc | |
rc = 1 | |
stridx = 1 (aa) | |
matchlen = 2 | |
================================================================ long_short | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
PARSE TRIE DUMP END | |
Adding string[0] = [aa] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=a[61],stridx=-1,strlen=-1 | |
c=a[61],stridx=0,strlen=2 | |
PARSE TRIE DUMP END | |
Adding string[1] = [a] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=a[61],stridx=1,strlen=1 | |
c=a[61],stridx=0,strlen=2 | |
PARSE TRIE DUMP END | |
buf = aaabc | |
rc = 1 | |
stridx = 0 (aa) | |
matchlen = 2 | |
================================================================ dkvp | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
PARSE TRIE DUMP END | |
Adding string[0] = [=] | |
Adding string[1] = [,] | |
Adding string[2] = [ | |
] | |
Adding string[3] = [�] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=?[0d],stridx=-1,strlen=-1 | |
c=?[0a],stridx=2,strlen=2 | |
c=,[2c],stridx=1,strlen=1 | |
c==[3d],stridx=0,strlen=1 | |
c=?[ffffffff],stridx=3,strlen=1 | |
PARSE TRIE DUMP END | |
================================================================ show_it | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
PARSE TRIE DUMP END | |
Adding string[0] = [=] | |
Adding string[1] = [,] | |
Adding string[2] = [ | |
] | |
Adding string[3] = [�] | |
PARSE TRIE DUMP START | |
c=?[00],stridx=-1,strlen=-1 | |
c=?[0d],stridx=-1,strlen=-1 | |
c=?[0a],stridx=2,strlen=2 | |
c=,[2c],stridx=1,strlen=1 | |
c==[3d],stridx=0,strlen=1 | |
c=?[ffffffff],stridx=3,strlen=1 | |
PARSE TRIE DUMP END | |
c a[61] | |
c b[62] | |
c c[63] | |
match token 0 (=) | |
c 1[31] | |
c 2[32] | |
c 3[33] | |
match token 1 (,) | |
c d[64] | |
c e[65] | |
c f[66] | |
match token 0 (=) | |
c 4[34] | |
c 5[35] | |
c 6[36] | |
match token 2 ( | |
) | |
c g[67] | |
c h[68] | |
c i[69] | |
match token 0 (=) | |
c 7[37] | |
c 8[38] | |
c 9[39] | |
match token 3 (�) | |
TEST_PARSE_TRIE: ALL UNIT TESTS PASSED | |
Tests passed: 6 of 6 | |
Assertions passed: 49 of 49 | |
./test-lrec | |
Before rename: | |
field_count = 3 | |
| phead: 0x28804060 | ptail 0x288040a0 | |
| prev: 0x0 curr: 0x28804060 next: 0x28804080 | key: 2 | value: b | | |
| prev: 0x28804060 curr: 0x28804080 next: 0x288040a0 | key: 3 | value: c | | |
| prev: 0x28804080 curr: 0x288040a0 next: 0x0 | key: 4 | value: d | | |
After rename: | |
field_count = 3 | |
| phead: 0x28804060 | ptail 0x288040a0 | |
| prev: 0x0 curr: 0x28804060 next: 0x28804080 | key: u | value: b | | |
| prev: 0x28804060 curr: 0x28804080 next: 0x288040a0 | key: 3 | value: c | | |
| prev: 0x28804080 curr: 0x288040a0 next: 0x0 | key: 4 | value: d | | |
Before rename: | |
field_count = 3 | |
| phead: 0x28804060 | ptail 0x288040a0 | |
| prev: 0x0 curr: 0x28804060 next: 0x28804080 | key: u | value: b | | |
| prev: 0x28804060 curr: 0x28804080 next: 0x288040a0 | key: 3 | value: c | | |
| prev: 0x28804080 curr: 0x288040a0 next: 0x0 | key: 4 | value: d | | |
After rename: | |
field_count = 2 | |
| phead: 0x28804060 | ptail 0x28804080 | |
| prev: 0x0 curr: 0x28804060 next: 0x28804080 | key: u | value: b | | |
| prev: 0x28804060 curr: 0x28804080 next: 0x0 | key: 4 | value: c | | |
TEST_LREC: ALL UNIT TESTS PASSED | |
Tests passed: 5 of 5 | |
Assertions passed: 84 of 84 | |
./test-string-builder | |
TEST_STRING_BUILDER: ALL UNIT TESTS PASSED | |
Tests passed: 1 of 1 | |
Assertions passed: 9 of 9 | |
./test-join-bucket-keeper | |
---------------------------------------------------------------- | |
test00 enter | |
left records: | |
paired is null with rval="(eof)"; ok | |
unpaired length=0 with rval="(eof)"; ok: | |
test00 exit | |
---------------------------------------------------------------- | |
test01 enter | |
left records: | |
paired is null with rval="0"; ok | |
unpaired is null with rval="0"; ok | |
paired is null with rval="(eof)"; ok | |
unpaired length=0 with rval="(eof)"; ok: | |
test01 exit | |
---------------------------------------------------------------- | |
test0 enter | |
left records: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
paired is null with rval="(eof)"; ok | |
unpaired length=6 with rval="(eof)"; ok: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
test0 exit | |
---------------------------------------------------------------- | |
test1 enter | |
left records: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
paired is null with rval="0"; ok | |
unpaired is null with rval="0"; ok | |
paired is null with rval="(eof)"; ok | |
unpaired length=6 with rval="(eof)"; ok: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
test1 exit | |
---------------------------------------------------------------- | |
test2 enter | |
left records: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
paired is null with rval="6"; ok | |
unpaired length=6 with rval="6"; ok: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
paired is null with rval="(eof)"; ok | |
unpaired length=0 with rval="(eof)"; ok: | |
test2 exit | |
---------------------------------------------------------------- | |
test3 enter | |
left records: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
paired is null with rval="0"; ok | |
unpaired is null with rval="0"; ok | |
paired length=2 with rval="1"; ok: | |
l=1,b=10 | |
l=1,b=11 | |
unpaired is null with rval="1"; ok | |
paired length=2 with rval="1"; ok: | |
l=1,b=10 | |
l=1,b=11 | |
unpaired is null with rval="1"; ok | |
paired is null with rval="(eof)"; ok | |
unpaired length=4 with rval="(eof)"; ok: | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
test3 exit | |
---------------------------------------------------------------- | |
test4 enter | |
left records: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
paired is null with rval="2"; ok | |
unpaired length=2 with rval="2"; ok: | |
l=1,b=10 | |
l=1,b=11 | |
paired is null with rval="2"; ok | |
unpaired is null with rval="2"; ok | |
paired length=3 with rval="3"; ok: | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
unpaired is null with rval="3"; ok | |
paired is null with rval="(eof)"; ok | |
unpaired length=1 with rval="(eof)"; ok: | |
l=5,b=15 | |
test4 exit | |
---------------------------------------------------------------- | |
test5 enter | |
left records: | |
l=1,b=10 | |
l=1,b=11 | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
l=5,b=15 | |
paired is null with rval="0"; ok | |
unpaired is null with rval="0"; ok | |
paired is null with rval="0"; ok | |
unpaired is null with rval="0"; ok | |
paired length=2 with rval="1"; ok: | |
l=1,b=10 | |
l=1,b=11 | |
unpaired is null with rval="1"; ok | |
paired length=2 with rval="1"; ok: | |
l=1,b=10 | |
l=1,b=11 | |
unpaired is null with rval="1"; ok | |
paired is null with rval="2"; ok | |
unpaired is null with rval="2"; ok | |
paired is null with rval="2"; ok | |
unpaired is null with rval="2"; ok | |
paired length=3 with rval="3"; ok: | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
unpaired is null with rval="3"; ok | |
paired length=3 with rval="3"; ok: | |
l=3,b=12 | |
l=3,b=13 | |
l=3,b=14 | |
unpaired is null with rval="3"; ok | |
paired is null with rval="4"; ok | |
unpaired is null with rval="4"; ok | |
paired is null with rval="4"; ok | |
unpaired is null with rval="4"; ok | |
paired length=1 with rval="5"; ok: | |
l=5,b=15 | |
unpaired is null with rval="5"; ok | |
paired length=1 with rval="5"; ok: | |
l=5,b=15 | |
unpaired is null with rval="5"; ok | |
paired is null with rval="6"; ok | |
unpaired is null with rval="6"; ok | |
paired is null with rval="6"; ok | |
unpaired is null with rval="6"; ok | |
paired is null with rval="(eof)"; ok | |
unpaired length=0 with rval="6"; ok: | |
test5 exit | |
TEST_JOIN_BUCKET_KEEPER: ALL UNIT TESTS PASSED | |
Tests passed: 8 of 8 | |
Assertions passed: 62 of 62 | |
DONE | |
./test/run | |
./test/../mlr cat ./test/input/abixy | |
./test/../mlr cat /dev/null | |
./test/../mlr cut -f a,x ./test/input/abixy | |
./test/../mlr cut --complement -f a,x ./test/input/abixy | |
./test/../mlr having-fields --at-least a,b ./test/input/abixy | |
./test/../mlr having-fields --at-least a,c ./test/input/abixy | |
./test/../mlr having-fields --at-least a,b,i,x,y ./test/input/abixy | |
./test/../mlr having-fields --which-are a,b,i,x ./test/input/abixy | |
./test/../mlr having-fields --which-are a,b,i,x,y ./test/input/abixy | |
./test/../mlr having-fields --which-are a,b,i,y,x ./test/input/abixy | |
./test/../mlr having-fields --which-are a,b,i,x,w ./test/input/abixy | |
./test/../mlr having-fields --which-are a,b,i,x,y,z ./test/input/abixy | |
./test/../mlr having-fields --at-most a,c ./test/input/abixy | |
./test/../mlr having-fields --at-most a,b,i,x,y ./test/input/abixy | |
./test/../mlr having-fields --at-most a,b,i,x,y,z ./test/input/abixy | |
./test/../mlr rename b,BEE,x,EKS ./test/input/abixy | |
./test/../mlr rename nonesuch,nonesuch,x,EKS ./test/input/abixy | |
./test/../mlr regularize ./test/input/regularize.dkvp | |
./test/../mlr group-by a ./test/input/abixy | |
./test/../mlr group-by a,b ./test/input/abixy | |
./test/../mlr group-like ./test/input/het.dkvp | |
./test/../mlr tac ./test/input/abixy | |
./test/../mlr tac /dev/null | |
./test/../mlr sort -f a ./test/input/abixy | |
./test/../mlr sort -r a ./test/input/abixy | |
./test/../mlr sort -f x ./test/input/abixy | |
./test/../mlr sort -r x ./test/input/abixy | |
./test/../mlr sort -nf x ./test/input/abixy | |
./test/../mlr sort -nr x ./test/input/abixy | |
./test/../mlr sort -f a,b ./test/input/abixy | |
./test/../mlr sort -r a,b ./test/input/abixy | |
./test/../mlr sort -f x,y ./test/input/abixy | |
./test/../mlr sort -r x,y ./test/input/abixy | |
./test/../mlr sort -nf x,y ./test/input/abixy | |
./test/../mlr sort -nr x,y ./test/input/abixy | |
./test/../mlr sort -f a -nr x ./test/input/abixy | |
./test/../mlr sort -nr y -f a ./test/input/abixy | |
./test/../mlr sort -f a -r b -nf x -nr y ./test/input/abixy | |
./test/../mlr --opprint join -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --ul -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --ul -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --np --ul -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --np --ul -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --np --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --np --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --np --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --np --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --ul -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --ul -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --ul --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --ul --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --np --ul -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --np --ul -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --np --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --np --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join --np --ul --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -u --np --ul --ur -f /dev/null -l l -r r -j o ./test/input/joinb.dkvp | |
./test/../mlr --opprint join -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join -u -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join --ul -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join -u --ul -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join -u --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join -u --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join --np --ul -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join -u --np --ul -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join --np --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join -u --np --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join --np --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr --opprint join -u --np --ul --ur -f ./test/input/joina.dkvp -l l -r r -j o /dev/null | |
./test/../mlr count-distinct -f a,b ./test/input/small ./test/input/abixy | |
./test/../mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y ./test/input/abixy | |
./test/../mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y ./test/input/abixy | |
./test/../mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y ./test/input/abixy | |
./test/../mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y -g a ./test/input/abixy | |
./test/../mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y -g a ./test/input/abixy | |
./test/../mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y -g a ./test/input/abixy | |
./test/../mlr --opprint stats1 -a mean,sum,count,min,max,mode -f i,x,y -g a,b ./test/input/abixy | |
./test/../mlr --opprint stats1 -a min,p10,p50,mode,p90,max -f i,x,y -g a,b ./test/input/abixy | |
./test/../mlr --opprint stats1 -a mean,meaneb,stddev -f i,x,y -g a,b ./test/input/abixy | |
./test/../mlr --opprint stats2 -a linreg-ols,linreg-pca,r2,corr,cov -f x,y,xy,y2,x2,x2 ./test/input/abixy-wide | |
./test/../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 | |
./test/../mlr --opprint step -a rsum,delta,counter -f x,y ./test/input/abixy | |
./test/../mlr --opprint step -a rsum,delta,counter -f x,y -g a ./test/input/abixy | |
./test/../mlr --opprint histogram -f x,y --lo 0 --hi 1 --nbins 20 ./test/input/small | |
./test/../mlr filter $x>.3 ./test/input/abixy | |
./test/../mlr filter $x>0.3 ./test/input/abixy | |
./test/../mlr filter $x>0.3 && $y>0.3 ./test/input/abixy | |
./test/../mlr filter $x>0.3 || $y>0.3 ./test/input/abixy | |
./test/../mlr filter NR>=4 && NR <= 7 ./test/input/abixy | |
./test/../mlr filter $nosuchfield>.3 ./test/input/abixy | |
./test/../mlr put $x2 = $x**2 ./test/input/abixy | |
./test/../mlr put $z = -0.024*$x+0.13 ./test/input/abixy | |
./test/../mlr put $c = $a . $b ./test/input/abixy | |
./test/../mlr --opprint put $nr=NR;$fnr=FNR;$nf=NF;$filenum=FILENUM;$filename=FILENAME ./test/input/abixy ./test/input/abixy | |
./test/../mlr put -v $x=$a+$b+$c /dev/null | |
./test/../mlr put -v $x=$a+$b-$c /dev/null | |
./test/../mlr put -v $x=$a-$b-$c /dev/null | |
./test/../mlr put -v $x=$a-$b+$c /dev/null | |
./test/../mlr put -v $x=$a*$b*$c /dev/null | |
./test/../mlr put -v $x=$a*$b/$c /dev/null | |
./test/../mlr put -v $x=$a/$b/$c /dev/null | |
./test/../mlr put -v $x=$a/$b*$c /dev/null | |
./test/../mlr put -v $x=$a+$b+$c /dev/null | |
./test/../mlr put -v $x=$a+$b*$c /dev/null | |
./test/../mlr put -v $x=$a*$b*$c /dev/null | |
./test/../mlr put -v $x=$a*$b+$c /dev/null | |
./test/../mlr put -v $x=$a+$b+$c /dev/null | |
./test/../mlr put -v $x=$a+$b**$c /dev/null | |
./test/../mlr put -v $x=$a**$b**$c /dev/null | |
./test/../mlr put -v $x=$a**$b+$c /dev/null | |
./test/../mlr put -v $x=$a.$b.$c /dev/null | |
./test/../mlr put -v $x=-$a+$b*$c /dev/null | |
./test/../mlr put -v $x=-$a*$b+$c /dev/null | |
./test/../mlr put -v $x=$a+-$b*$c /dev/null | |
./test/../mlr put -v $x=$a*-$b+$c /dev/null | |
./test/../mlr put -v $x=$a+$b*-$c /dev/null | |
./test/../mlr put -v $x=$a*$b+-$c /dev/null | |
./test/../mlr filter -v $a==1 && $b == 1 && $c == 1 /dev/null | |
./test/../mlr filter -v $a==1 || $b == 1 && $c == 1 /dev/null | |
./test/../mlr filter -v $a==1 || $b == 1 || $c == 1 /dev/null | |
./test/../mlr filter -v $a==1 && $b == 1 || $c == 1 /dev/null | |
./test/../mlr filter -v $x<$a*$b*$c /dev/null | |
./test/../mlr filter -v $x<$a*$b/$c /dev/null | |
./test/../mlr filter -v $x<$a/$b/$c /dev/null | |
./test/../mlr filter -v $x<$a/$b*$c /dev/null | |
./test/../mlr filter -v $x<$a+$b+$c /dev/null | |
./test/../mlr filter -v $x<$a+$b*$c /dev/null | |
./test/../mlr filter -v $x<$a*$b*$c /dev/null | |
./test/../mlr filter -v $x<$a*$b+$c /dev/null | |
./test/../mlr filter -v $x<$a+$b+$c /dev/null | |
./test/../mlr filter -v $x<$a+$b**$c /dev/null | |
./test/../mlr filter -v $x<$a**$b**$c /dev/null | |
./test/../mlr filter -v $x<$a**$b+$c /dev/null | |
./test/../mlr filter -v $x<$a.$b.$c /dev/null | |
./test/../mlr filter -v $x<-$a+$b*$c /dev/null | |
./test/../mlr filter -v $x<-$a*$b+$c /dev/null | |
./test/../mlr filter -v $x<$a+-$b*$c /dev/null | |
./test/../mlr filter -v $x<$a*-$b+$c /dev/null | |
./test/../mlr filter -v $x<$a+$b*-$c /dev/null | |
./test/../mlr filter -v $x<$a*$b+-$c /dev/null | |
./test/../mlr --csvlite put $gmt=sec2gmt($sec) ./test/input/sec2gmt | |
./test/../mlr --csvlite put $sec=gmt2sec($gmt) ./test/input/gmt2sec | |
./test/../mlr put $z=min($x, $y) ./test/input/minmax.dkvp | |
./test/../mlr put $z=max($x, $y) ./test/input/minmax.dkvp | |
./test/../mlr --opprint put $hms=sec2hms($sec); $resec=hms2sec($hms); $diff=$resec-$sec ./test/input/sec2xhms | |
./test/../mlr --opprint put $hms=fsec2hms($sec); $resec=hms2fsec($hms); $diff=$resec-$sec ./test/input/fsec2xhms | |
./test/../mlr --opprint put $hms=sec2dhms($sec); $resec=dhms2sec($hms); $diff=$resec-$sec ./test/input/sec2xhms | |
./test/../mlr --opprint put $hms=fsec2dhms($sec); $resec=dhms2fsec($hms); $diff=$resec-$sec ./test/input/fsec2xhms | |
./test/../mlr cat then cat ./test/input/short | |
./test/../mlr cat then tac ./test/input/short | |
./test/../mlr tac then cat ./test/input/short | |
./test/../mlr tac then tac ./test/input/short | |
./test/../mlr cat then cat then cat ./test/input/short | |
./test/../mlr cat then cat then tac ./test/input/short | |
./test/../mlr cat then tac then cat ./test/input/short | |
./test/../mlr cat then tac then tac ./test/input/short | |
./test/../mlr tac then cat then cat ./test/input/short | |
./test/../mlr tac then cat then tac ./test/input/short | |
./test/../mlr tac then tac then cat ./test/input/short | |
./test/../mlr tac then tac then tac ./test/input/short | |
./test/../mlr --icsvlite --odkvp cat ./test/input/a.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/b.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/c.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/d.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/e.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/f.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/g.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/a.csv ./test/input/a.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/b.csv ./test/input/b.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/c.csv ./test/input/c.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/d.csv ./test/input/d.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/e.csv ./test/input/e.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/f.csv ./test/input/f.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/g.csv ./test/input/g.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/a.csv ./test/input/b.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/b.csv ./test/input/c.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/c.csv ./test/input/d.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/d.csv ./test/input/e.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/e.csv ./test/input/f.csv | |
./test/../mlr --icsvlite --odkvp cat ./test/input/f.csv ./test/input/g.csv | |
./test/../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 | |
./test/../mlr --icsvlite --odkvp tac ./test/input/het.csv | |
./test/../mlr --ipprint --odkvp cat ./test/input/a.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/b.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/c.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/d.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/e.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/f.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/g.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/a.pprint ./test/input/a.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/b.pprint ./test/input/b.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/c.pprint ./test/input/c.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/d.pprint ./test/input/d.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/e.pprint ./test/input/e.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/f.pprint ./test/input/f.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/g.pprint ./test/input/g.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/a.pprint ./test/input/b.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/b.pprint ./test/input/c.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/c.pprint ./test/input/d.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/d.pprint ./test/input/e.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/e.pprint ./test/input/f.pprint | |
./test/../mlr --ipprint --odkvp cat ./test/input/f.pprint ./test/input/g.pprint | |
./test/../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 | |
./test/../mlr --icsvlite --odkvp cat ./test/input/null-fields.csv | |
./test/../mlr --inidx --odkvp cat ./test/input/null-fields.nidx | |
./test/../mlr --idkvp --oxtab cat ./test/input/missings.dkvp | |
./test/../mlr --mmap --idkvp --odkvp --ifs space --repifs cat ./test/input/space-pad.dkvp | |
./test/../mlr --no-mmap --idkvp --odkvp --ifs space --repifs cat ./test/input/space-pad.dkvp | |
./test/../mlr --mmap --inidx --odkvp --ifs space --repifs cat ./test/input/space-pad.nidx | |
./test/../mlr --no-mmap --inidx --odkvp --ifs space --repifs cat ./test/input/space-pad.nidx | |
./test/../mlr --mmap --icsvlite --odkvp --ifs space --repifs cat ./test/input/space-pad.pprint | |
./test/../mlr --no-mmap --icsvlite --odkvp --ifs space --repifs cat ./test/input/space-pad.pprint | |
./test/../mlr --no-mmap --opprint cat ./test/input/double-ps.dkvp | |
./test/../mlr --mmap --opprint cat ./test/input/double-ps.dkvp | |
./test/../mlr --no-mmap --csvlite cat ./test/input/truncated.csv | |
./test/../mlr --csvlite cat ./test/input/truncated.csv | |
./test/../mlr --no-mmap --dkvp cat ./test/input/truncated.dkvp | |
./test/../mlr --dkvp cat ./test/input/truncated.dkvp | |
./test/../mlr --no-mmap --nidx cat ./test/input/truncated.nidx | |
./test/../mlr --nidx cat ./test/input/truncated.nidx | |
./test/../mlr --no-mmap --pprint cat ./test/input/truncated.pprint | |
./test/../mlr --pprint cat ./test/input/truncated.pprint | |
./test/../mlr --no-mmap --xtab cat ./test/input/truncated.xtab | |
./test/../mlr --xtab cat ./test/input/truncated.xtab | |
./test/../mlr --icsvlite --opprint cat ./test/input/utf8-1.csv | |
./test/../mlr --icsvlite --opprint cat ./test/input/utf8-2.csv | |
./test/../mlr --icsvlite --oxtab cat ./test/input/utf8-1.csv | |
./test/../mlr --icsvlite --oxtab cat ./test/input/utf8-2.csv | |
./test/../mlr --inidx --ifs space --opprint cat ./test/input/utf8-align.nidx | |
./test/../mlr --inidx --ifs space --opprint --right cat ./test/input/utf8-align.nidx | |
./test/../mlr --oxtab cat ./test/input/utf8-align.dkvp | |
./test/../mlr --csv cat ./test/input/rfc-csv/simple.csv | |
./test/../mlr --csv cat ./test/input/rfc-csv/simple-truncated.csv | |
./test/../mlr --csv cat ./test/input/rfc-csv/narrow.csv | |
./test/../mlr --csv cat ./test/input/rfc-csv/narrow-truncated.csv | |
./test/../mlr --csv cat ./test/input/rfc-csv/quoted-comma.csv | |
./test/../mlr --csv cat ./test/input/rfc-csv/quoted-comma-truncated.csv | |
./test/../mlr --csv cat ./test/input/rfc-csv/quoted-crlf.csv | |
./test/../mlr --csv cat ./test/input/rfc-csv/quoted-crlf-truncated.csv | |
./test/../mlr --csv cat ./test/input/rfc-csv/simple-truncated.csv ./test/input/rfc-csv/simple.csv | |
*** ./test/expected/out 2015-09-06 13:51:21.223355000 -0700 | |
--- ./test/output/out 2015-09-06 13:54:58.552549000 -0700 | |
*************** | |
*** 1507,1530 **** | |
1500000000,2017-07-14T02:40:00Z | |
2000000000,2033-05-18T03:33:20Z | |
./test/../mlr --csvlite put $sec=gmt2sec($gmt) ./test/input/gmt2sec | |
gmt,sec | |
! 1970-01-01T00:00:00Z,0 | |
! 1970-01-01T00:00:01Z,1 | |
! 1970-01-01T00:00:10Z,10 | |
! 1970-01-01T00:01:40Z,100 | |
! 1970-01-01T00:16:40Z,1000 | |
! 1970-01-01T02:46:40Z,10000 | |
! 1970-01-02T03:46:40Z,100000 | |
! 1970-01-12T13:46:40Z,1000000 | |
! 1970-04-26T17:46:40Z,10000000 | |
! 1973-03-03T09:46:40Z,100000000 | |
! 2001-09-09T01:46:40Z,1000000000 | |
! 2015-05-19T11:49:40Z,1432036180 | |
! 2017-07-14T02:40:00Z,1500000000 | |
! 2033-05-18T03:33:20Z,2000000000 | |
./test/../mlr put $z=min($x, $y) ./test/input/minmax.dkvp | |
x=1,y=2,z=1.000000 | |
x=1,y=,z=1.000000 | |
x=,y=,z= | |
--- 1507,1530 ---- | |
1500000000,2017-07-14T02:40:00Z | |
2000000000,2033-05-18T03:33:20Z | |
./test/../mlr --csvlite put $sec=gmt2sec($gmt) ./test/input/gmt2sec | |
gmt,sec | |
! 1970-01-01T00:00:00Z,-1 | |
! 1970-01-01T00:00:01Z,-1 | |
! 1970-01-01T00:00:10Z,-1 | |
! 1970-01-01T00:01:40Z,-1 | |
! 1970-01-01T00:16:40Z,-1 | |
! 1970-01-01T02:46:40Z,-1 | |
! 1970-01-02T03:46:40Z,-1 | |
! 1970-01-12T13:46:40Z,-1 | |
! 1970-04-26T17:46:40Z,-1 | |
! 1973-03-03T09:46:40Z,-1 | |
! 2001-09-09T01:46:40Z,-1 | |
! 2015-05-19T11:49:40Z,-1 | |
! 2017-07-14T02:40:00Z,-1 | |
! 2033-05-18T03:33:20Z,-1 | |
./test/../mlr put $z=min($x, $y) ./test/input/minmax.dkvp | |
x=1,y=2,z=1.000000 | |
x=1,y=,z=1.000000 | |
x=,y=,z= | |
*** Error code 1 | |
Stop. | |
make: stopped in /usr/home/sean/bin/miller/c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment