diff --git a/.gitattributes b/.gitattributes index 5ecec8c01..7c7dcd241 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,15 +1,24 @@ # Autodetect text files and perform LF normalization + .gitattributes text eol=lf setup text eol=lf -out text eol=lf + +out binary + *.txt text eol=lf +*.html text eol=lf + *.c text eol=lf *.h text eol=lf + *.csv text eol=lf -*.tsv text eol=lf *.dat text eol=lf -*.pprint text eol=lf -*.nidx text eol=lf *.dkvp text eol=lf *.json text eol=lf -*.html text eol=lf +*.nidx text eol=lf +*.pprint text eol=lf +*.tsv text eol=lf + +*.csv-crlf binary +*.pprint-crlf binary +*.dkvp-crlf binary diff --git a/c/reg_test/expected/out b/c/reg_test/expected/out index 97cc6920c..f29c04e2d 100644 --- a/c/reg_test/expected/out +++ b/c/reg_test/expected/out @@ -43125,7 +43125,7 @@ x_sum ================================================================ IMPLICIT-HEADER-CSV INPUT -mlr --irs crlf --no-mmap --icsvlite --ifs , --opprint cut -x -f b/ ./reg_test/input/multi-sep.csv +mlr --irs crlf --no-mmap --icsvlite --ifs , --opprint cut -x -f b/ ./reg_test/input/multi-sep.csv-crlf a/ i/ x/ y/ wye/ 0/ 0.641593543645736508/ 0.262688053894177098 eks/ 1/ 0.827614412562742041/ 0.715431942006308552 @@ -43133,7 +43133,7 @@ zee/ 2/ 0.923068348748175560/ 0.009737410587136359 zee/ 3/ 0.000047786161325772/ 0.803142013402256216 zee/ 4/ 0.676537984365847889/ 0.573903236805416328 -mlr --irs crlf --implicit-csv-header --no-mmap --icsvlite --ifs , --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv +mlr --irs crlf --implicit-csv-header --no-mmap --icsvlite --ifs , --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv-crlf 1 3 4 5 a/ i/ x/ y/ wye/ 0/ 0.641593543645736508/ 0.262688053894177098 @@ -43142,7 +43142,7 @@ zee/ 2/ 0.923068348748175560/ 0.009737410587136359 zee/ 3/ 0.000047786161325772/ 0.803142013402256216 zee/ 4/ 0.676537984365847889/ 0.573903236805416328 -mlr --irs crlf --no-mmap --icsvlite --ifs /, --opprint cut -x -f b ./reg_test/input/multi-sep.csv +mlr --irs crlf --no-mmap --icsvlite --ifs /, --opprint cut -x -f b ./reg_test/input/multi-sep.csv-crlf a i x y/ wye 0 0.641593543645736508 0.262688053894177098 eks 1 0.827614412562742041 0.715431942006308552 @@ -43150,7 +43150,7 @@ zee 2 0.923068348748175560 0.009737410587136359 zee 3 0.000047786161325772 0.803142013402256216 zee 4 0.676537984365847889 0.573903236805416328 -mlr --irs crlf --implicit-csv-header --no-mmap --icsvlite --ifs /, --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv +mlr --irs crlf --implicit-csv-header --no-mmap --icsvlite --ifs /, --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv-crlf 1 3 4 5 a i x y/ wye 0 0.641593543645736508 0.262688053894177098 @@ -43159,7 +43159,7 @@ zee 2 0.923068348748175560 0.009737410587136359 zee 3 0.000047786161325772 0.803142013402256216 zee 4 0.676537984365847889 0.573903236805416328 -mlr --irs crlf --mmap --icsvlite --ifs , --opprint cut -x -f b/ ./reg_test/input/multi-sep.csv +mlr --irs crlf --mmap --icsvlite --ifs , --opprint cut -x -f b/ ./reg_test/input/multi-sep.csv-crlf a/ i/ x/ y/ wye/ 0/ 0.641593543645736508/ 0.262688053894177098 eks/ 1/ 0.827614412562742041/ 0.715431942006308552 @@ -43167,7 +43167,7 @@ zee/ 2/ 0.923068348748175560/ 0.009737410587136359 zee/ 3/ 0.000047786161325772/ 0.803142013402256216 zee/ 4/ 0.676537984365847889/ 0.573903236805416328 -mlr --irs crlf --implicit-csv-header --mmap --icsvlite --ifs , --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv +mlr --irs crlf --implicit-csv-header --mmap --icsvlite --ifs , --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv-crlf 1 3 4 5 a/ i/ x/ y/ wye/ 0/ 0.641593543645736508/ 0.262688053894177098 @@ -43176,7 +43176,7 @@ zee/ 2/ 0.923068348748175560/ 0.009737410587136359 zee/ 3/ 0.000047786161325772/ 0.803142013402256216 zee/ 4/ 0.676537984365847889/ 0.573903236805416328 -mlr --irs crlf --mmap --icsvlite --ifs /, --opprint cut -x -f b ./reg_test/input/multi-sep.csv +mlr --irs crlf --mmap --icsvlite --ifs /, --opprint cut -x -f b ./reg_test/input/multi-sep.csv-crlf a i x y/ wye 0 0.641593543645736508 0.262688053894177098 eks 1 0.827614412562742041 0.715431942006308552 @@ -43184,7 +43184,7 @@ zee 2 0.923068348748175560 0.009737410587136359 zee 3 0.000047786161325772 0.803142013402256216 zee 4 0.676537984365847889 0.573903236805416328 -mlr --irs crlf --implicit-csv-header --mmap --icsvlite --ifs /, --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv +mlr --irs crlf --implicit-csv-header --mmap --icsvlite --ifs /, --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv-crlf 1 3 4 5 a i x y/ wye 0 0.641593543645736508 0.262688053894177098 @@ -43193,39 +43193,39 @@ zee 2 0.923068348748175560 0.009737410587136359 zee 3 0.000047786161325772 0.803142013402256216 zee 4 0.676537984365847889 0.573903236805416328 -mlr --icsv --ifs , --opprint cut -x -f b/ ./reg_test/input/multi-sep.csv -a/ i/ x/ y/ -wye/ 0/ 0.641593543645736508/ 0.262688053894177098 -eks/ 1/ 0.827614412562742041/ 0.715431942006308552 -zee/ 2/ 0.923068348748175560/ 0.009737410587136359 -zee/ 3/ 0.000047786161325772/ 0.803142013402256216 -zee/ 4/ 0.676537984365847889/ 0.573903236805416328 +mlr --icsv --ifs , --opprint cut -x -f b/ ./reg_test/input/multi-sep.csv-crlf +a/ i/ x/ y/ +wye/ 0/ 0.641593543645736508/ 0.262688053894177098 +eks/ 1/ 0.827614412562742041/ 0.715431942006308552 +zee/ 2/ 0.923068348748175560/ 0.009737410587136359 +zee/ 3/ 0.000047786161325772/ 0.803142013402256216 +zee/ 4/ 0.676537984365847889/ 0.573903236805416328 -mlr --implicit-csv-header --icsv --ifs , --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv -1 3 4 5 -a/ i/ x/ y/ -wye/ 0/ 0.641593543645736508/ 0.262688053894177098 -eks/ 1/ 0.827614412562742041/ 0.715431942006308552 -zee/ 2/ 0.923068348748175560/ 0.009737410587136359 -zee/ 3/ 0.000047786161325772/ 0.803142013402256216 -zee/ 4/ 0.676537984365847889/ 0.573903236805416328 +mlr --implicit-csv-header --icsv --ifs , --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv-crlf +1 3 4 5 +a/ i/ x/ y/ +wye/ 0/ 0.641593543645736508/ 0.262688053894177098 +eks/ 1/ 0.827614412562742041/ 0.715431942006308552 +zee/ 2/ 0.923068348748175560/ 0.009737410587136359 +zee/ 3/ 0.000047786161325772/ 0.803142013402256216 +zee/ 4/ 0.676537984365847889/ 0.573903236805416328 -mlr --icsv --ifs /, --opprint cut -x -f b ./reg_test/input/multi-sep.csv -a i x y/ -wye 0 0.641593543645736508 0.262688053894177098 -eks 1 0.827614412562742041 0.715431942006308552 -zee 2 0.923068348748175560 0.009737410587136359 -zee 3 0.000047786161325772 0.803142013402256216 -zee 4 0.676537984365847889 0.573903236805416328 +mlr --icsv --ifs /, --opprint cut -x -f b ./reg_test/input/multi-sep.csv-crlf +a i x y/ +wye 0 0.641593543645736508 0.262688053894177098 +eks 1 0.827614412562742041 0.715431942006308552 +zee 2 0.923068348748175560 0.009737410587136359 +zee 3 0.000047786161325772 0.803142013402256216 +zee 4 0.676537984365847889 0.573903236805416328 -mlr --implicit-csv-header --icsv --ifs /, --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv -1 3 4 5 -a i x y/ -wye 0 0.641593543645736508 0.262688053894177098 -eks 1 0.827614412562742041 0.715431942006308552 -zee 2 0.923068348748175560 0.009737410587136359 -zee 3 0.000047786161325772 0.803142013402256216 -zee 4 0.676537984365847889 0.573903236805416328 +mlr --implicit-csv-header --icsv --ifs /, --opprint cut -x -f 2 ./reg_test/input/multi-sep.csv-crlf +1 3 4 5 +a i x y/ +wye 0 0.641593543645736508 0.262688053894177098 +eks 1 0.827614412562742041 0.715431942006308552 +zee 2 0.923068348748175560 0.009737410587136359 +zee 3 0.000047786161325772 0.803142013402256216 +zee 4 0.676537984365847889 0.573903236805416328 ================================================================ @@ -44382,11 +44382,11 @@ n3 -2.7670116e+19 ================================================================ COMPRESSED INPUT -mlr --csv --prepipe cat cat ./reg_test/input/rfc-csv/simple.csv -a,b,c -1,x,3 -4,5,6 -x,"y""yy",z +mlr --csv --prepipe cat cat ./reg_test/input/rfc-csv/simple.csv-crlf +a,b,c +1,x,3 +4,5,6 +x,"y""yy",z mlr --dkvp --prepipe cat cat ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 @@ -44401,10 +44401,10 @@ 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 --csv --prepipe cat cat -a,b,c -1,x,3 -4,5,6 -x,"y""yy",z +a,b,c +1,x,3 +4,5,6 +x,"y""yy",z mlr --dkvp --prepipe cat cat a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 @@ -44423,26 +44423,26 @@ a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 STDIN mlr --csv cat -a,b,c -1,x,3 -4,5,6 -x,"y""yy",z +a,b,c +1,x,3 +4,5,6 +x,"y""yy",z ================================================================ RFC-CSV -mlr --no-mmap --csv cat ./reg_test/input/rfc-csv/simple.csv -a,b,c -1,x,3 -4,5,6 -x,"y""yy",z +mlr --no-mmap --csv cat ./reg_test/input/rfc-csv/simple.csv-crlf +a,b,c +1,x,3 +4,5,6 +x,"y""yy",z -mlr --mmap --csv cat ./reg_test/input/rfc-csv/simple.csv -a,b,c -1,x,3 -4,5,6 -x,"y""yy",z +mlr --mmap --csv cat ./reg_test/input/rfc-csv/simple.csv-crlf +a,b,c +1,x,3 +4,5,6 +x,"y""yy",z mlr --no-mmap --csv cat ./reg_test/input/rfc-csv/simple-truncated.csv a,b,c @@ -44526,7 +44526,7 @@ a,b,c 3",y 4,5,6 -mlr --no-mmap --csv cat ./reg_test/input/rfc-csv/simple-truncated.csv ./reg_test/input/rfc-csv/simple.csv +mlr --no-mmap --csv cat ./reg_test/input/rfc-csv/simple-truncated.csv ./reg_test/input/rfc-csv/simple.csv-crlf a,b,c 1,x,3 4,5,6 @@ -44534,7 +44534,7 @@ a,b,c 4,5,6 x,"y""yy",z -mlr --mmap --csv cat ./reg_test/input/rfc-csv/simple-truncated.csv ./reg_test/input/rfc-csv/simple.csv +mlr --mmap --csv cat ./reg_test/input/rfc-csv/simple-truncated.csv ./reg_test/input/rfc-csv/simple.csv-crlf a,b,c 1,x,3 4,5,6 @@ -44570,17 +44570,17 @@ c,b,a 6,"5",4 "9",8,"7" -mlr --csv --quote-all cat ./reg_test/input/rfc-csv/simple.csv -"a","b","c" -"1","x","3" -"4","5","6" -"x","y""yy","z" +mlr --csv --quote-all cat ./reg_test/input/rfc-csv/simple.csv-crlf +"a","b","c" +"1","x","3" +"4","5","6" +"x","y""yy","z" -mlr --csv --quote-original cat ./reg_test/input/rfc-csv/simple.csv -a,b,c -1,x,3 -4,5,6 -"x","y""yy","z" +mlr --csv --quote-original cat ./reg_test/input/rfc-csv/simple.csv-crlf +a,b,c +1,x,3 +4,5,6 +"x","y""yy","z" mlr --itsv --rs lf --oxtab cat ./reg_test/input/simple.tsv a pan @@ -44630,19 +44630,19 @@ mlr --itsv --rs lf --omd cat ./reg_test/input/simple.tsv ================================================================ CSV/RS ENVIRONMENT DEFAULTS -mlr --csv cut -f a ./reg_test/input/rfc-csv/simple.csv -a -1 -4 -x +mlr --csv cut -f a ./reg_test/input/rfc-csv/simple.csv-crlf +a +1 +4 +x -mlr --csv --rs crlf cut -f a ./reg_test/input/rfc-csv/simple.csv -a -1 -4 -x +mlr --csv --rs crlf cut -f a ./reg_test/input/rfc-csv/simple.csv-crlf +a +1 +4 +x -mlr --csv --rs lf cut -f a ./reg_test/input/rfc-csv/simple.csv +mlr --csv --rs lf cut -f a ./reg_test/input/rfc-csv/simple.csv-crlf mlr: unmatched double quote at line 3. a 1 @@ -44652,7 +44652,7 @@ a ================================================================ MULTI-CHARACTER IRS/IFS/IPS FOR DKVP -mlr --oxtab --idkvp --mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./reg_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-crlf x :0.641593543645736508/ a :wye/ i :0/ @@ -44673,7 +44673,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./reg_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-crlf x 0.641593543645736508 a wye i 0 @@ -44694,7 +44694,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --idkvp --mmap --irs crlf --ifs , --ips = cut -o -f x,a,i ./reg_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-crlf x :0.641593543645736508/ a :wye/ i :0/ @@ -44715,7 +44715,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --idkvp --mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i ./reg_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-crlf x 0.641593543645736508 a wye i 0 @@ -44736,7 +44736,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --no-mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./reg_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-crlf x :0.641593543645736508/ a :wye/ i :0/ @@ -44757,7 +44757,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --no-mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./reg_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-crlf x 0.641593543645736508 a wye i 0 @@ -44778,7 +44778,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --no-mmap --irs crlf --ifs , --ips = cut -o -f x,a,i ./reg_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-crlf x :0.641593543645736508/ a :wye/ i :0/ @@ -44799,7 +44799,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --no-mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i ./reg_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-crlf x 0.641593543645736508 a wye i 0 @@ -44824,7 +44824,7 @@ i 4 ================================================================ MULTI-CHARACTER IRS/IFS FOR NIDX -mlr --oxtab --inidx --mmap --irs lf --ifs , cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp +mlr --oxtab --inidx --mmap --irs lf --ifs , cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp-crlf 4 x=:0.641593543645736508/ 1 a=:wye/ 3 i=:0/ @@ -44845,7 +44845,7 @@ mlr --oxtab --inidx --mmap --irs lf --ifs , cut -o -f 4,1,3 ./reg_test/input/mul 1 a=:zee/ 3 i=:4/ -mlr --oxtab --inidx --mmap --irs lf --ifs /, cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp +mlr --oxtab --inidx --mmap --irs lf --ifs /, cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp-crlf 4 x=:0.641593543645736508 1 a=:wye 3 i=:0 @@ -44866,7 +44866,7 @@ mlr --oxtab --inidx --mmap --irs lf --ifs /, cut -o -f 4,1,3 ./reg_test/input/mu 1 a=:zee 3 i=:4 -mlr --oxtab --inidx --mmap --irs crlf --ifs , cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp +mlr --oxtab --inidx --mmap --irs crlf --ifs , cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp-crlf 4 x=:0.641593543645736508/ 1 a=:wye/ 3 i=:0/ @@ -44887,7 +44887,7 @@ mlr --oxtab --inidx --mmap --irs crlf --ifs , cut -o -f 4,1,3 ./reg_test/input/m 1 a=:zee/ 3 i=:4/ -mlr --oxtab --inidx --mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp +mlr --oxtab --inidx --mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./reg_test/input/multi-sep.dkvp-crlf 4 x=:0.641593543645736508 1 a=:wye 3 i=:0 @@ -44908,7 +44908,7 @@ mlr --oxtab --inidx --mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./reg_test/input/ 1 a=:zee 3 i=:4 -mlr --oxtab --inidx --no-mmap --irs lf --ifs , cut -o -f 4,1,3 ./reg_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-crlf 4 x=:0.641593543645736508/ 1 a=:wye/ 3 i=:0/ @@ -44929,7 +44929,7 @@ mlr --oxtab --inidx --no-mmap --irs lf --ifs , cut -o -f 4,1,3 ./reg_test/input/ 1 a=:zee/ 3 i=:4/ -mlr --oxtab --inidx --no-mmap --irs lf --ifs /, cut -o -f 4,1,3 ./reg_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-crlf 4 x=:0.641593543645736508 1 a=:wye 3 i=:0 @@ -44950,7 +44950,7 @@ mlr --oxtab --inidx --no-mmap --irs lf --ifs /, cut -o -f 4,1,3 ./reg_test/input 1 a=:zee 3 i=:4 -mlr --oxtab --inidx --no-mmap --irs crlf --ifs , cut -o -f 4,1,3 ./reg_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-crlf 4 x=:0.641593543645736508/ 1 a=:wye/ 3 i=:0/ @@ -44971,7 +44971,7 @@ mlr --oxtab --inidx --no-mmap --irs crlf --ifs , cut -o -f 4,1,3 ./reg_test/inpu 1 a=:zee/ 3 i=:4/ -mlr --oxtab --inidx --no-mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./reg_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-crlf 4 x=:0.641593543645736508 1 a=:wye 3 i=:0 @@ -44996,7 +44996,7 @@ mlr --oxtab --inidx --no-mmap --irs crlf --ifs /, cut -o -f 4,1,3 ./reg_test/inp ================================================================ MULTI-CHARACTER IRS/IFS FOR CSVLITE -mlr --oxtab --icsvlite --mmap --irs lf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csv +mlr --oxtab --icsvlite --mmap --irs lf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csv-crlf x/ 0.641593543645736508/ a/ wye/ i/ 0/ @@ -45017,7 +45017,7 @@ x/ 0.676537984365847889/ a/ zee/ i/ 4/ -mlr --oxtab --icsvlite --mmap --irs lf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csv +mlr --oxtab --icsvlite --mmap --irs lf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csv-crlf x 0.641593543645736508 a wye i 0 @@ -45038,7 +45038,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --icsvlite --mmap --irs crlf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csv +mlr --oxtab --icsvlite --mmap --irs crlf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csv-crlf x/ 0.641593543645736508/ a/ wye/ i/ 0/ @@ -45059,7 +45059,7 @@ x/ 0.676537984365847889/ a/ zee/ i/ 4/ -mlr --oxtab --icsvlite --mmap --irs crlf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csv +mlr --oxtab --icsvlite --mmap --irs crlf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csv-crlf x 0.641593543645736508 a wye i 0 @@ -45080,7 +45080,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --icsvlite --no-mmap --irs lf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csv +mlr --oxtab --icsvlite --no-mmap --irs lf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csv-crlf x/ 0.641593543645736508/ a/ wye/ i/ 0/ @@ -45101,7 +45101,7 @@ x/ 0.676537984365847889/ a/ zee/ i/ 4/ -mlr --oxtab --icsvlite --no-mmap --irs lf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csv +mlr --oxtab --icsvlite --no-mmap --irs lf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csv-crlf x 0.641593543645736508 a wye i 0 @@ -45122,7 +45122,7 @@ x 0.676537984365847889 a zee i 4 -mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csv +mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs , cut -o -f x/,a/,i/ ./reg_test/input/multi-sep.csv-crlf x/ 0.641593543645736508/ a/ wye/ i/ 0/ @@ -45143,7 +45143,7 @@ x/ 0.676537984365847889/ a/ zee/ i/ 4/ -mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csv +mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs /, cut -o -f x,a,i ./reg_test/input/multi-sep.csv-crlf x 0.641593543645736508 a wye i 0 @@ -45202,7 +45202,7 @@ sum@@@@3 ================================================================ MULTI-CHARACTER IRS FOR PPRINT -mlr --mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b ./reg_test/input/dots.pprint +mlr --mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b ./reg_test/input/dots.pprint-crlf a@@@i@@x@@@@@@@@@@@@@@@@@@@y pan@1@@0.3467901443380824@@0.7268028627434533 eks@2@@0.7586799647899636@@0.5221511083334797 @@ -45215,7 +45215,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 ./reg_test/input/dots.pprint +mlr --no-mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b ./reg_test/input/dots.pprint-crlf a@@@i@@x@@@@@@@@@@@@@@@@@@@y pan@1@@0.3467901443380824@@0.7268028627434533 eks@2@@0.7586799647899636@@0.5221511083334797 @@ -45380,7 +45380,7 @@ mlr --opprint --barred --right cat ./reg_test/input/abixy-het ================================================================ MULTI-CHARACTER IXS SPECIFIERS -mlr --oxtab --idkvp --mmap --irs lf --ifs , --ips = cut -o -f x,a,i ./reg_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-crlf x :0.641593543645736508/ a :wye/ i :0/ @@ -45401,7 +45401,7 @@ x :0.676537984365847889/ a :zee/ i :4/ -mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i ./reg_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-crlf x 0.641593543645736508 a wye i 0 diff --git a/c/reg_test/input/dots.pprint b/c/reg_test/input/dots.pprint-crlf similarity index 97% rename from c/reg_test/input/dots.pprint rename to c/reg_test/input/dots.pprint-crlf index 28901ac95..ff3ef7432 100644 --- a/c/reg_test/input/dots.pprint +++ b/c/reg_test/input/dots.pprint-crlf @@ -1,11 +1,11 @@ -a///b///i//x///////////////////y -pan/pan/1//0.3467901443380824//0.7268028627434533 -eks/pan/2//0.7586799647899636//0.5221511083334797 -wye/wye/3//0.20460330576630303/0.33831852551664776 -eks/wye/4//0.38139939387114097/0.13418874328430463 -wye/pan/5//0.5732889198020006//0.8636244699032729 -zee/pan/6//0.5271261600918548//0.49322128674835697 -eks/zee/7//0.6117840605678454//0.1878849191181694 -zee/wye/8//0.5985540091064224//0.976181385699006 -hat/wye/9//0.03144187646093577/0.7495507603507059 -pan/wye/10/0.5026260055412137//0.9526183602969864 +a///b///i//x///////////////////y +pan/pan/1//0.3467901443380824//0.7268028627434533 +eks/pan/2//0.7586799647899636//0.5221511083334797 +wye/wye/3//0.20460330576630303/0.33831852551664776 +eks/wye/4//0.38139939387114097/0.13418874328430463 +wye/pan/5//0.5732889198020006//0.8636244699032729 +zee/pan/6//0.5271261600918548//0.49322128674835697 +eks/zee/7//0.6117840605678454//0.1878849191181694 +zee/wye/8//0.5985540091064224//0.976181385699006 +hat/wye/9//0.03144187646093577/0.7495507603507059 +pan/wye/10/0.5026260055412137//0.9526183602969864 diff --git a/c/reg_test/input/multi-sep.csv b/c/reg_test/input/multi-sep.csv-crlf similarity index 100% rename from c/reg_test/input/multi-sep.csv rename to c/reg_test/input/multi-sep.csv-crlf diff --git a/c/reg_test/input/multi-sep.dkvp b/c/reg_test/input/multi-sep.dkvp deleted file mode 100644 index 55a2079f2..000000000 --- a/c/reg_test/input/multi-sep.dkvp +++ /dev/null @@ -1,5 +0,0 @@ -a=:wye/,b=:eks/,i=:0/,x=:0.641593543645736508/,y=:0.262688053894177098 -a=:eks/,b=:zee/,i=:1/,x=:0.827614412562742041/,y=:0.715431942006308552 -a=:zee/,b=:zee/,i=:2/,x=:0.923068348748175560/,y=:0.009737410587136359 -a=:zee/,b=:pan/,i=:3/,x=:0.000047786161325772/,y=:0.803142013402256216 -a=:zee/,b=:hat/,i=:4/,x=:0.676537984365847889/,y=:0.573903236805416328 diff --git a/c/reg_test/input/rfc-csv/simple.csv b/c/reg_test/input/rfc-csv/simple.csv-crlf similarity index 90% rename from c/reg_test/input/rfc-csv/simple.csv rename to c/reg_test/input/rfc-csv/simple.csv-crlf index d8c22aee1..6d960dd46 100644 --- a/c/reg_test/input/rfc-csv/simple.csv +++ b/c/reg_test/input/rfc-csv/simple.csv-crlf @@ -1,4 +1,4 @@ -a,"b",c -1,x,3 -4,5,6 -"x","y""yy","z" +a,"b",c +1,x,3 +4,5,6 +"x","y""yy","z" diff --git a/c/reg_test/input/truncated.xtab-crlf b/c/reg_test/input/truncated.xtab-crlf index 39eddf810..215b66017 100644 --- a/c/reg_test/input/truncated.xtab-crlf +++ b/c/reg_test/input/truncated.xtab-crlf @@ -1,6 +1,6 @@ -a 1 -b 2 -c 3 - -d 4 +a 1 +b 2 +c 3 + +d 4 e 5 \ No newline at end of file diff --git a/c/reg_test/run b/c/reg_test/run index 1c0b4b251..0cb5896c6 100755 --- a/c/reg_test/run +++ b/c/reg_test/run @@ -4843,23 +4843,23 @@ run_mlr --opprint --ofmt '%.3lf' stats1 -a sum -f x $indir/ofmt.dat # ---------------------------------------------------------------- announce IMPLICIT-HEADER-CSV INPUT -run_mlr --irs crlf --no-mmap --icsvlite --ifs , --opprint cut -x -f b/ $indir/multi-sep.csv -run_mlr --irs crlf --implicit-csv-header --no-mmap --icsvlite --ifs , --opprint cut -x -f 2 $indir/multi-sep.csv +run_mlr --irs crlf --no-mmap --icsvlite --ifs , --opprint cut -x -f b/ $indir/multi-sep.csv-crlf +run_mlr --irs crlf --implicit-csv-header --no-mmap --icsvlite --ifs , --opprint cut -x -f 2 $indir/multi-sep.csv-crlf -run_mlr --irs crlf --no-mmap --icsvlite --ifs /, --opprint cut -x -f b $indir/multi-sep.csv -run_mlr --irs crlf --implicit-csv-header --no-mmap --icsvlite --ifs /, --opprint cut -x -f 2 $indir/multi-sep.csv +run_mlr --irs crlf --no-mmap --icsvlite --ifs /, --opprint cut -x -f b $indir/multi-sep.csv-crlf +run_mlr --irs crlf --implicit-csv-header --no-mmap --icsvlite --ifs /, --opprint cut -x -f 2 $indir/multi-sep.csv-crlf -run_mlr --irs crlf --mmap --icsvlite --ifs , --opprint cut -x -f b/ $indir/multi-sep.csv -run_mlr --irs crlf --implicit-csv-header --mmap --icsvlite --ifs , --opprint cut -x -f 2 $indir/multi-sep.csv +run_mlr --irs crlf --mmap --icsvlite --ifs , --opprint cut -x -f b/ $indir/multi-sep.csv-crlf +run_mlr --irs crlf --implicit-csv-header --mmap --icsvlite --ifs , --opprint cut -x -f 2 $indir/multi-sep.csv-crlf -run_mlr --irs crlf --mmap --icsvlite --ifs /, --opprint cut -x -f b $indir/multi-sep.csv -run_mlr --irs crlf --implicit-csv-header --mmap --icsvlite --ifs /, --opprint cut -x -f 2 $indir/multi-sep.csv +run_mlr --irs crlf --mmap --icsvlite --ifs /, --opprint cut -x -f b $indir/multi-sep.csv-crlf +run_mlr --irs crlf --implicit-csv-header --mmap --icsvlite --ifs /, --opprint cut -x -f 2 $indir/multi-sep.csv-crlf -run_mlr --icsv --ifs , --opprint cut -x -f b/ $indir/multi-sep.csv -run_mlr --implicit-csv-header --icsv --ifs , --opprint cut -x -f 2 $indir/multi-sep.csv +run_mlr --icsv --ifs , --opprint cut -x -f b/ $indir/multi-sep.csv-crlf +run_mlr --implicit-csv-header --icsv --ifs , --opprint cut -x -f 2 $indir/multi-sep.csv-crlf -run_mlr --icsv --ifs /, --opprint cut -x -f b $indir/multi-sep.csv -run_mlr --implicit-csv-header --icsv --ifs /, --opprint cut -x -f 2 $indir/multi-sep.csv +run_mlr --icsv --ifs /, --opprint cut -x -f b $indir/multi-sep.csv-crlf +run_mlr --implicit-csv-header --icsv --ifs /, --opprint cut -x -f 2 $indir/multi-sep.csv-crlf # ---------------------------------------------------------------- announce HET-CSV INPUT @@ -5059,21 +5059,21 @@ run_mlr --oxtab --ofmt '%.8g' put '$n0=$n*0;$n1=$n*1;$n2=$n*2;$n3=$n*3' $indir/i # ---------------------------------------------------------------- announce COMPRESSED INPUT -run_mlr --csv --prepipe 'cat' cat $indir/rfc-csv/simple.csv +run_mlr --csv --prepipe 'cat' cat $indir/rfc-csv/simple.csv-crlf run_mlr --dkvp --prepipe 'cat' cat $indir/abixy -run_mlr --csv --prepipe 'cat' cat < $indir/rfc-csv/simple.csv +run_mlr --csv --prepipe 'cat' cat < $indir/rfc-csv/simple.csv-crlf run_mlr --dkvp --prepipe 'cat' cat < $indir/abixy # ---------------------------------------------------------------- announce STDIN -run_mlr --csv cat < $indir/rfc-csv/simple.csv +run_mlr --csv cat < $indir/rfc-csv/simple.csv-crlf # ---------------------------------------------------------------- announce RFC-CSV -run_mlr --no-mmap --csv cat $indir/rfc-csv/simple.csv -run_mlr --mmap --csv cat $indir/rfc-csv/simple.csv +run_mlr --no-mmap --csv cat $indir/rfc-csv/simple.csv-crlf +run_mlr --mmap --csv cat $indir/rfc-csv/simple.csv-crlf run_mlr --no-mmap --csv cat $indir/rfc-csv/simple-truncated.csv run_mlr --mmap --csv cat $indir/rfc-csv/simple-truncated.csv @@ -5096,8 +5096,8 @@ run_mlr --mmap --csv cat $indir/rfc-csv/quoted-crlf.csv run_mlr --no-mmap --csv cat $indir/rfc-csv/quoted-crlf-truncated.csv run_mlr --mmap --csv cat $indir/rfc-csv/quoted-crlf-truncated.csv -run_mlr --no-mmap --csv cat $indir/rfc-csv/simple-truncated.csv $indir/rfc-csv/simple.csv -run_mlr --mmap --csv cat $indir/rfc-csv/simple-truncated.csv $indir/rfc-csv/simple.csv +run_mlr --no-mmap --csv cat $indir/rfc-csv/simple-truncated.csv $indir/rfc-csv/simple.csv-crlf +run_mlr --mmap --csv cat $indir/rfc-csv/simple-truncated.csv $indir/rfc-csv/simple.csv-crlf run_mlr --no-mmap --csv --ifs semicolon --ofs pipe --irs lf --ors lflf cut -x -f b $indir/rfc-csv/modify-defaults.csv run_mlr --mmap --csv --ifs semicolon --ofs pipe --irs lf --ors lflf cut -x -f b $indir/rfc-csv/modify-defaults.csv @@ -5105,8 +5105,8 @@ run_mlr --mmap --csv --ifs semicolon --ofs pipe --irs lf --ors lflf cut -x -f run_mlr --no-mmap --csv --rs lf --quote-original cut -o -f c,b,a $indir/quote-original.csv run_mlr --mmap --csv --rs lf --quote-original cut -o -f c,b,a $indir/quote-original.csv -run_mlr --csv --quote-all cat $indir/rfc-csv/simple.csv -run_mlr --csv --quote-original cat $indir/rfc-csv/simple.csv +run_mlr --csv --quote-all cat $indir/rfc-csv/simple.csv-crlf +run_mlr --csv --quote-original cat $indir/rfc-csv/simple.csv-crlf run_mlr --itsv --rs lf --oxtab cat $indir/simple.tsv @@ -5118,48 +5118,48 @@ run_mlr --itsv --rs lf --omd cat $indir/simple.tsv # ---------------------------------------------------------------- announce CSV/RS ENVIRONMENT DEFAULTS -run_mlr --csv cut -f a $indir/rfc-csv/simple.csv -run_mlr --csv --rs crlf cut -f a $indir/rfc-csv/simple.csv -mlr_expect_fail --csv --rs lf cut -f a $indir/rfc-csv/simple.csv +run_mlr --csv cut -f a $indir/rfc-csv/simple.csv-crlf +run_mlr --csv --rs crlf cut -f a $indir/rfc-csv/simple.csv-crlf +mlr_expect_fail --csv --rs lf cut -f a $indir/rfc-csv/simple.csv-crlf # ---------------------------------------------------------------- announce MULTI-CHARACTER IRS/IFS/IPS FOR DKVP -run_mlr --oxtab --idkvp --mmap --irs lf --ifs , --ips = cut -o -f x,a,i $indir/multi-sep.dkvp -run_mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i $indir/multi-sep.dkvp -run_mlr --oxtab --idkvp --mmap --irs crlf --ifs , --ips = cut -o -f x,a,i $indir/multi-sep.dkvp -run_mlr --oxtab --idkvp --mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i $indir/multi-sep.dkvp +run_mlr --oxtab --idkvp --mmap --irs lf --ifs , --ips = cut -o -f x,a,i $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --idkvp --mmap --irs crlf --ifs , --ips = cut -o -f x,a,i $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --idkvp --mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i $indir/multi-sep.dkvp-crlf -run_mlr --oxtab --no-mmap --irs lf --ifs , --ips = cut -o -f x,a,i $indir/multi-sep.dkvp -run_mlr --oxtab --no-mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i $indir/multi-sep.dkvp -run_mlr --oxtab --no-mmap --irs crlf --ifs , --ips = cut -o -f x,a,i $indir/multi-sep.dkvp -run_mlr --oxtab --no-mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i $indir/multi-sep.dkvp +run_mlr --oxtab --no-mmap --irs lf --ifs , --ips = cut -o -f x,a,i $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --no-mmap --irs lf --ifs /, --ips =: cut -o -f x,a,i $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --no-mmap --irs crlf --ifs , --ips = cut -o -f x,a,i $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --no-mmap --irs crlf --ifs /, --ips =: cut -o -f x,a,i $indir/multi-sep.dkvp-crlf # ---------------------------------------------------------------- announce MULTI-CHARACTER IRS/IFS FOR NIDX -run_mlr --oxtab --inidx --mmap --irs lf --ifs , cut -o -f 4,1,3 $indir/multi-sep.dkvp -run_mlr --oxtab --inidx --mmap --irs lf --ifs /, cut -o -f 4,1,3 $indir/multi-sep.dkvp -run_mlr --oxtab --inidx --mmap --irs crlf --ifs , cut -o -f 4,1,3 $indir/multi-sep.dkvp -run_mlr --oxtab --inidx --mmap --irs crlf --ifs /, cut -o -f 4,1,3 $indir/multi-sep.dkvp +run_mlr --oxtab --inidx --mmap --irs lf --ifs , cut -o -f 4,1,3 $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --inidx --mmap --irs lf --ifs /, cut -o -f 4,1,3 $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --inidx --mmap --irs crlf --ifs , cut -o -f 4,1,3 $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --inidx --mmap --irs crlf --ifs /, cut -o -f 4,1,3 $indir/multi-sep.dkvp-crlf -run_mlr --oxtab --inidx --no-mmap --irs lf --ifs , cut -o -f 4,1,3 $indir/multi-sep.dkvp -run_mlr --oxtab --inidx --no-mmap --irs lf --ifs /, cut -o -f 4,1,3 $indir/multi-sep.dkvp -run_mlr --oxtab --inidx --no-mmap --irs crlf --ifs , cut -o -f 4,1,3 $indir/multi-sep.dkvp -run_mlr --oxtab --inidx --no-mmap --irs crlf --ifs /, cut -o -f 4,1,3 $indir/multi-sep.dkvp +run_mlr --oxtab --inidx --no-mmap --irs lf --ifs , cut -o -f 4,1,3 $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --inidx --no-mmap --irs lf --ifs /, cut -o -f 4,1,3 $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --inidx --no-mmap --irs crlf --ifs , cut -o -f 4,1,3 $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --inidx --no-mmap --irs crlf --ifs /, cut -o -f 4,1,3 $indir/multi-sep.dkvp-crlf # ---------------------------------------------------------------- announce MULTI-CHARACTER IRS/IFS FOR CSVLITE -run_mlr --oxtab --icsvlite --mmap --irs lf --ifs , cut -o -f x/,a/,i/ $indir/multi-sep.csv -run_mlr --oxtab --icsvlite --mmap --irs lf --ifs /, cut -o -f x,a,i $indir/multi-sep.csv -run_mlr --oxtab --icsvlite --mmap --irs crlf --ifs , cut -o -f x/,a/,i/ $indir/multi-sep.csv -run_mlr --oxtab --icsvlite --mmap --irs crlf --ifs /, cut -o -f x,a,i $indir/multi-sep.csv +run_mlr --oxtab --icsvlite --mmap --irs lf --ifs , cut -o -f x/,a/,i/ $indir/multi-sep.csv-crlf +run_mlr --oxtab --icsvlite --mmap --irs lf --ifs /, cut -o -f x,a,i $indir/multi-sep.csv-crlf +run_mlr --oxtab --icsvlite --mmap --irs crlf --ifs , cut -o -f x/,a/,i/ $indir/multi-sep.csv-crlf +run_mlr --oxtab --icsvlite --mmap --irs crlf --ifs /, cut -o -f x,a,i $indir/multi-sep.csv-crlf -run_mlr --oxtab --icsvlite --no-mmap --irs lf --ifs , cut -o -f x/,a/,i/ $indir/multi-sep.csv -run_mlr --oxtab --icsvlite --no-mmap --irs lf --ifs /, cut -o -f x,a,i $indir/multi-sep.csv -run_mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs , cut -o -f x/,a/,i/ $indir/multi-sep.csv -run_mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs /, cut -o -f x,a,i $indir/multi-sep.csv +run_mlr --oxtab --icsvlite --no-mmap --irs lf --ifs , cut -o -f x/,a/,i/ $indir/multi-sep.csv-crlf +run_mlr --oxtab --icsvlite --no-mmap --irs lf --ifs /, cut -o -f x,a,i $indir/multi-sep.csv-crlf +run_mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs , cut -o -f x/,a/,i/ $indir/multi-sep.csv-crlf +run_mlr --oxtab --icsvlite --no-mmap --irs crlf --ifs /, cut -o -f x,a,i $indir/multi-sep.csv-crlf # ---------------------------------------------------------------- announce MULTI-CHARACTER SEPARATORS FOR XTAB @@ -5174,8 +5174,8 @@ run_mlr --xtab --ips ": " --ops '@@@@' put '$sum=int($a+$b)' $indir/multi-ips.dk # ---------------------------------------------------------------- announce MULTI-CHARACTER IRS FOR PPRINT -run_mlr --mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b $indir/dots.pprint -run_mlr --no-mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b $indir/dots.pprint +run_mlr --mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b $indir/dots.pprint-crlf +run_mlr --no-mmap --pprint --irs crlf --ifs / --ofs @ cut -x -f b $indir/dots.pprint-crlf # ---------------------------------------------------------------- announce BARRED PPRINT @@ -5189,8 +5189,8 @@ run_mlr --opprint --barred --right cat $indir/abixy-het # ---------------------------------------------------------------- announce MULTI-CHARACTER IXS SPECIFIERS -run_mlr --oxtab --idkvp --mmap --irs lf --ifs '\x2c' --ips '\075' cut -o -f x,a,i $indir/multi-sep.dkvp -run_mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips '\x3d\x3a' cut -o -f x,a,i $indir/multi-sep.dkvp +run_mlr --oxtab --idkvp --mmap --irs lf --ifs '\x2c' --ips '\075' cut -o -f x,a,i $indir/multi-sep.dkvp-crlf +run_mlr --oxtab --idkvp --mmap --irs lf --ifs /, --ips '\x3d\x3a' cut -o -f x,a,i $indir/multi-sep.dkvp-crlf # ---------------------------------------------------------------- announce JSON I/O diff --git a/c/todo.txt b/c/todo.txt index 114c2513d..7c5e4b129 100644 --- a/c/todo.txt +++ b/c/todo.txt @@ -96,6 +96,8 @@ MSYS2 NOTES * https://help.github.com/articles/dealing-with-line-endings/#platform-windows +* big dev readme about .gitattributes + ================================================================ MAPVAR CHECKLIST: