From 8fbddfb3b3e321a1cd8afbf33003bdcc9004f713 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 20 Jan 2022 23:31:49 -0500 Subject: [PATCH] tamed: Fix --help and add another reporting example $2 was not escaped and would fail expansion. I apparently did not run --help before committing. Shame on me. --- bin/tamed | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/tamed b/bin/tamed index b9f45b40..70c09450 100755 --- a/bin/tamed +++ b/bin/tamed @@ -509,7 +509,10 @@ The table is tab-delimited. Here are some useful examples: $ cut -2,3 runtab # convert milliseconds into minutes (!) and sort desc - $ awk '{ $2 = $2 / 1000 / 60; print } runtab | sort -nrk2 + $ awk '{ \$2 = \$2 / 1000 / 60; print } runtab | sort -nrk2 + + # convert to CSV (assuming no quoting is needed) + $ tr '\t' , < runtab > runtab.csv Options: --help show this message