Summaries

5 views
Skip to first unread message

Peter

unread,
Jan 17, 2013, 12:02:55 PM1/17/13
to ducttap...@googlegroups.com
Hey all,

Is there any existing documentation on ducttape summaries?

If not, is there an example tape file somewhere that uses them?

Pete


Jonathan Clark

unread,
Jan 17, 2013, 10:25:05 PM1/17/13
to Peter, ducttap...@googlegroups.com
Hi Peter,

Summaries are relatively new, so there's no good documentation on them yet. Until we can get a decent tutorial step on them out, here's a tutorial draft that should get you most of the way there: https://github.com/jhclark/ducttape/blob/master/tutorial/05-01-hello-summaries.tape.TODO

-Jon




--
 
 

Matthew Gardner

unread,
Feb 4, 2013, 9:50:00 AM2/4/13
to Jonathan Clark, Peter, ducttap...@googlegroups.com
What's the syntax for specifying the columns to sort the output by in a summary?  I remember Jon showed me, but I don't remember what it is...


--
 
 

Peter F. Schulam

unread,
Feb 4, 2013, 10:01:43 AM2/4/13
to Matthew Gardner, Jonathan Clark, ducttap...@googlegroups.com
I think it's similar to (or the same as) what's used in 'sort'. To sort by the first column numerically in reverse order it would be:

tabular -nr -k1

Matthew Gardner

unread,
Feb 4, 2013, 10:16:06 AM2/4/13
to Peter F. Schulam, Jonathan Clark, ducttap...@googlegroups.com
Thanks, I had forgotten about saving the output and using the tabular script.


--
You received this message because you are subscribed to the Google Groups "ducttape-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ducttape-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jonathan Clark

unread,
Feb 4, 2013, 10:48:00 AM2/4/13
to Peter F. Schulam, Matthew Gardner, ducttap...@googlegroups.com
The flags you pass to "tabular" are exactly the same as your system's "sort" since I actually call sort.

You can get a brief help message out of tabular using "tabular --help"


On Mon, Feb 4, 2013 at 10:01 AM, Peter F. Schulam <psch...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages