mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 00:45:47 +00:00
Don't parse CSV comments (#1859)
* `mlr sort -b` feature * mlr regtest -p test/cases/cli-help && make dev * Don't parse CSV comments * Add tests for PR 1346 * Add tests for PR 1787 * Add test CSV files
This commit is contained in:
parent
369156b70d
commit
06e16ea3ee
18 changed files with 62 additions and 37 deletions
6
test/input/pr-1346.csv
Normal file
6
test/input/pr-1346.csv
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
field1,field2
|
||||
a,b
|
||||
# that was the first record
|
||||
c,d
|
||||
# that was the second record, and there is no more data
|
||||
|
||||
|
4
test/input/pr-1787.csv
Normal file
4
test/input/pr-1787.csv
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
a,b,c
|
||||
1,2,3
|
||||
# x"y
|
||||
4,5,6
|
||||
|
Can't render this file because it contains an unexpected character in line 3 and column 4.
|
Loading…
Add table
Add a link
Reference in a new issue