mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 07:30:43 +00:00
neaten
This commit is contained in:
parent
9e3747d5c9
commit
0da8ae84d7
2 changed files with 9 additions and 12 deletions
|
|
@ -759,7 +759,7 @@ cli_opts_t* parse_command_line(int argc, char** argv) {
|
|||
popts->quote_json_values_always = TRUE;
|
||||
} else if (streq(argv[argi], "--jflatsep")) {
|
||||
check_arg_count(argv, argi, argc, 2);
|
||||
popts->json_flatten_separator = argv[argi+1];
|
||||
popts->json_flatten_separator = sep_from_arg(argv[argi+1], argv[0]);
|
||||
argi++;
|
||||
|
||||
} else if (streq(argv[argi], "--csv")) { popts->ifile_fmt = popts->ofile_fmt = "csv";
|
||||
|
|
|
|||
19
c/todo.txt
19
c/todo.txt
|
|
@ -42,17 +42,14 @@ TOP-OF-LIST SUMMARY
|
|||
TOP-OF-LIST DETAILS
|
||||
|
||||
* JSON I/O:
|
||||
! string-preservation for doubles !
|
||||
! n.b. colon-inside! not just for I/O.
|
||||
! doc this : wishlist: streamable version with fgetc rather than pointer-math.
|
||||
> no tail -f!
|
||||
! UT !
|
||||
> mlr --json reshape -i x,y -o item,value rec.json
|
||||
> JSON/join UT. both/left/right json cases.
|
||||
- cmt mlhmmv @ writer ...
|
||||
- unbackslash @ jflatsep
|
||||
- use track-source feature
|
||||
- in-mem UTs
|
||||
- code: leading 0/-0 as needed. & cmt why.
|
||||
- code: use track-source feature
|
||||
- UT: mlr --json reshape -i x,y -o item,value rec.json
|
||||
- UT: JSON/join. both/left/right json cases.
|
||||
- UT: more in-mem
|
||||
- cmt: mlhmmv @ writer ...
|
||||
- doc: n.b. colon-inside! not just for I/O.
|
||||
- doc: wishlist: streamable version with fgetc rather than pointer-math. esp.: no tail -f!
|
||||
|
||||
? env vars??
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue