From d07b7b20149b83bfb5dd67ed84ce52c9c48313c9 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Tue, 29 Dec 2015 15:06:11 -0500 Subject: [PATCH] mlr --csv --rs lf emphasis --- c/todo.txt | 3 +-- doc/content-for-data-examples.html | 2 ++ doc/data-examples.html | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/c/todo.txt b/c/todo.txt index e6ace11c5..6641c1918 100644 --- a/c/todo.txt +++ b/c/todo.txt @@ -16,12 +16,11 @@ TOP OF LIST * wiz/veith ack @ dox x 2 * ruby @ optextdep @ mld; poki+mkman * rename mlr_selected_values_from_record to mlr_reference_selected_values_from_record -! --rs lf splatters - - termcvt flins & rework that page * light edit on utf8 page * --mmap/--no-mmap @ mlr -h * debian screenshot +* termcvt flins & rework that page * mem-mgmt scrutinize: valgrind w/ leak check @ regtest/run - xxxes diff --git a/doc/content-for-data-examples.html b/doc/content-for-data-examples.html index cde35c912..16d5af7bc 100644 --- a/doc/content-for-data-examples.html +++ b/doc/content-for-data-examples.html @@ -4,6 +4,8 @@ POKI_PUT_TOC_HERE

The flins.csv file is some sample data obtained from https://support.spatialkey.com/spatialkey-sample-csv-data. +

Note: please use "mlr --csv --rs lf" for for native Un*x (linefeed-terminated) CSV files.. +

Vertical-tabular format is good for a quick look at CSV data layout — seeing what columns you have to work with: POKI_RUN_COMMAND{{head -n 2 data/flins.csv | mlr --icsv --oxtab cat}}HERE

A few simple queries: diff --git a/doc/data-examples.html b/doc/data-examples.html index 883d40e15..6eddd3b6a 100644 --- a/doc/data-examples.html +++ b/doc/data-examples.html @@ -144,6 +144,8 @@ Miller commands were run with pretty-print-tabular output format.

The flins.csv file is some sample data obtained from https://support.spatialkey.com/spatialkey-sample-csv-data. +

Note: please use "mlr --csv --rs lf" for for native Un*x (linefeed-terminated) CSV files.. +

Vertical-tabular format is good for a quick look at CSV data layout — seeing what columns you have to work with: