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

Jim Wildman jim at rossberry.com
Sun Aug 7 18:05:25 EDT 2011


awk is your tool.  See printf output formatting in man awk.

On Sun, 7 Aug 2011, jep200404 at columbus.rr.com wrote:

> I have a plain text file with variable width fields delimited by tabs.
> What filter program(s) are good at making the columns line up in
> plain text output? It would also be nice to be able limit the
> maximum size of some fields.
>
> I am playing with the output of http://colug.net/~jep/gas,
> which uses http://colug.net/~jep/parsegaspriceshtml.awk.
>
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
>

----------------------------------------------------------------------
Jim Wildman, CISSP, RHCE       jim at rossberry.com http://www.rossberry.net
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine


More information about the colug-432 mailing list