[colug-432] Nice Plain Text Columns and Avoiding NIH: expand: not

Seth Hall seth at icir.org
Mon Aug 8 10:50:35 EDT 2011

On Aug 8, 2011, at 10:14 AM, Richard Holbert wrote:

> cat foo.txt | column -t -s $','

I use this for Bro a lot since the default output in the next release is tab-separated columns.  To specify tab as the column separator (which the original posted had) you need to give the -s argument a literal tab character.  I usually do this...

	cat foo.txt | column -t -s "<ctrl-v><tab>"

To specify a literal tab, you have to first type ctrl-v.


Seth Hall
International Computer Science Institute
(Bro) because everyone has a network

More information about the colug-432 mailing list