mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-25 08:53:55 +00:00
null-formatting fix
This commit is contained in:
parent
05bbc1e3c2
commit
af4519c613
2 changed files with 3 additions and 9 deletions
|
|
@ -33,7 +33,7 @@ char* mt_format_val(mlr_val_t* pval) {
|
|||
char* string = NULL;
|
||||
switch(pval->type) {
|
||||
case MT_NULL:
|
||||
return strdup("(null)");
|
||||
return strdup("");
|
||||
break;
|
||||
case MT_ERROR:
|
||||
return strdup("(error)");
|
||||
|
|
|
|||
10
c/todo.txt
10
c/todo.txt
|
|
@ -7,8 +7,6 @@
|
|||
================================================================
|
||||
FEATURES/+
|
||||
|
||||
!! gmt2sec and strlen should be integer i_s_ funcs not f_s_
|
||||
|
||||
!! mmap cleanup, especially csv
|
||||
!! mmap/stdio UTs; run all cases with --mmap and again with --no-mmap
|
||||
|
||||
|
|
@ -39,8 +37,6 @@ FEATURES/+
|
|||
|
||||
! mlr sort CLI opt for choice of heap/merge/quick -- ?
|
||||
|
||||
* mod op (either c-like, or sane) and put into wikidoc if so.
|
||||
|
||||
================================================================
|
||||
NEATEN
|
||||
|
||||
|
|
@ -102,9 +98,7 @@ MEM MGMT:
|
|||
================================================================
|
||||
FCNS INCL. STRxTIME
|
||||
! fmtnum s_sf_, s_si_
|
||||
? strptime f_s_
|
||||
? strftime s_f_, s_i_
|
||||
? match b_ss
|
||||
? match b_ss (w/ regexes!!)
|
||||
? sub, gsub s_sss (w/ regexes!!)
|
||||
? index i_ss
|
||||
? bit ops & | ^ << >> ??? i_ii
|
||||
|
|
@ -119,7 +113,7 @@ UT/REG
|
|||
* tac/X/tac for all X
|
||||
* multi-csv I/O: include --icsv --odkvp and --idkvp --ocsv, as well as --csv cases
|
||||
* het-xtab out
|
||||
* modulus
|
||||
* modulus operator
|
||||
* strlen
|
||||
|
||||
================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue