
mlr --csv cat ./reg-test/input/rfc-csv/simple.csv-crlf
a,b,c
1,x,3
4,5,6
x,"y""yy",z

mlr --csv cat ./reg-test/input/rfc-csv/simple-truncated.csv
a,b,c
1,x,3
4,5,6

mlr --csv cat ./reg-test/input/rfc-csv/narrow.csv
a
1
2
3
4

mlr --csv cat ./reg-test/input/rfc-csv/narrow-truncated.csv
a
1
2
3
4

mlr --csv cat ./reg-test/input/rfc-csv/quoted-comma.csv
a,b,c
1,"x,3",y
4,5,6

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 ./reg-test/input/rfc-csv/quoted-crlf.csv
a,b,c
1,"x
3",y
4,5,6

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 ./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
1,x,3
4,5,6
x,"y""yy",z

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

4|6


mlr --csv --rs lf --quote-original cut -o -f c,b,a ./reg-test/input/quote-original.csv
c,b,a
3,2,1
6,"5",4
"9",8,"7"

mlr --icsv --oxtab cat ./reg-test/input/comma-at-eof.csv
a 1
b 2
c 3

a 4
b 5
c 

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-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
b pan
i 1
x 2
y 0.989945

a eks
b pan
i 2
x 1
y 0.775159

a wye
b wye
i 3
x 1
y 0.761642

a eks
b wye
i 4
x 5
y 0.322934

a wye
b pan
i 5
x 5
y 0.448283

mlr --iusv --oxtab cat ./reg-test/input/example.usv
a d
b e
c f

a g
b h
c i

