Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2022-01-20 23:31:49 -0500
committerMike Gerwitz <mike.gerwitz@ryansg.com>2022-01-20 23:32:28 -0500
commit8fbddfb3b3e321a1cd8afbf33003bdcc9004f713 (patch)
tree738e04471c513df814c5a7213be93a32f6ebfadb /bin
parent6fd570477a1295054f2efaee79e892f4d6c0976b (diff)
downloadtame-8fbddfb3b3e321a1cd8afbf33003bdcc9004f713.tar.gz
tame-8fbddfb3b3e321a1cd8afbf33003bdcc9004f713.tar.bz2
tame-8fbddfb3b3e321a1cd8afbf33003bdcc9004f713.zip
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.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tamed5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/tamed b/bin/tamed
index b9f45b4..70c0945 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