mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
sortv2 impl checkpoint
This commit is contained in:
parent
ada95db78b
commit
37fd9ff221
18 changed files with 81 additions and 8 deletions
|
|
@ -28,6 +28,7 @@ static mapper_setup_t* mapper_lookup_table[] = {
|
|||
&mapper_rename_setup,
|
||||
&mapper_reorder_setup,
|
||||
&mapper_sort_setup,
|
||||
&mapper_sortv2_setup,
|
||||
&mapper_stats1_setup,
|
||||
&mapper_stats2_setup,
|
||||
&mapper_step_setup,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ typedef struct _reader_nidx_state_t {
|
|||
|
||||
// ----------------------------------------------------------------
|
||||
// xxx repeated ifs ...
|
||||
//
|
||||
|
||||
static lrec_t* reader_nidx_func(FILE* input_stream, void* pvstate, context_t* pctx) {
|
||||
reader_nidx_state_t* pstate = pvstate;
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ extern mapper_setup_t mapper_put_setup;
|
|||
extern mapper_setup_t mapper_rename_setup;
|
||||
extern mapper_setup_t mapper_reorder_setup;
|
||||
extern mapper_setup_t mapper_sort_setup;
|
||||
extern mapper_setup_t mapper_sortv2_setup;
|
||||
extern mapper_setup_t mapper_stats1_setup;
|
||||
extern mapper_setup_t mapper_stats2_setup;
|
||||
extern mapper_setup_t mapper_step_setup;
|
||||
|
|
|
|||
16
c/todo.txt
16
c/todo.txt
|
|
@ -1,21 +1,23 @@
|
|||
================================================================
|
||||
! BUGFIX !
|
||||
! BUGFIXES !
|
||||
|
||||
--ofmt ignored in put. perhaps best to reglobalize.
|
||||
* --ofmt ignored in put. perhaps best to reglobalize.
|
||||
* nidx not handling empty values -- ?
|
||||
|
||||
================================================================
|
||||
FEATURES
|
||||
!! sort -nr !!
|
||||
-> put uniq & count-distinct into the same file. then rm extraneous extern @ .h
|
||||
!! quantiles !!
|
||||
!! reminder pgr legend is broken !!
|
||||
http://en.wikipedia.org/wiki/Order_statistic_tree
|
||||
! bulk rename cols 1,2,3,4,5 this,that,something,foo,bar
|
||||
! sub function. e.g. "300ms" -> "300"
|
||||
! ordered cut (a la reorder). either a new command (yeck) or cut option (e.g. cut -o)
|
||||
* stats1 mode: lhmsi & then sort. what about "1"=="1.0"?
|
||||
! mod op!! (c-like, or sane) and put into wikidoc if so.
|
||||
* sub function. e.g. "300ms" -> "300"
|
||||
* bulk rename cols 1,2,3,4,5 this,that,something,foo,bar
|
||||
* ordered cut (a la reorder). either a new command (yeck) or cut option (e.g. cut -o)
|
||||
* mod op (either c-like, or sane) and put into wikidoc if so.
|
||||
* impl/doc mlr check: no output
|
||||
* linreq-quality 2nd pass -- code it up in stats2 w/ -m {m} -b {b} -- ?
|
||||
* linreg-quality 2nd pass -- code it up in stats2 w/ -m {m} -b {b} -- ?
|
||||
|
||||
================================================================
|
||||
NEATEN
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
POKI_PUT_PAGE_LIST_HERE
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
|
|||
|
||||
<!-- navbar -->
|
||||
<td width="15%">
|
||||
<!--
|
||||
<img src="pix/mlr.jpg" />
|
||||
<img style="border-width:1px; color:black;" src="pix/mlr.jpg" />
|
||||
-->
|
||||
|
||||
<div class="pokinav">
|
||||
<center><titleinbody>Miller</titleinbody></center>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue