arrange your text nicely with column

August 17th, 2006 mysurface Posted in column, pipeline, Text Manipulation | Hits: 25976 | 1 Comment »

Try to cat /etc/group, you will find the output text is showing name:x:id: …, which list of groups is separate by :

To separate it nicely by columns, you can do that:

cat /etc/group | column -t -s":"

One Response to “arrange your text nicely with column”

  1. My husband and i felt cheerful that Michael could deal with his reports by way of the precious recommendations he made out of your weblog. It is now and again perplexing to simply choose to be giving freely instructions other folks might have been trying to sell. We already know we’ve got the blog owner to give thanks to for this. The specific explanations you’ve made, the simple web site navigation, the relationships you will make it possible to create – it is most sensational, and it’s leading our son in addition to our family do think this article is pleasurable, and that’s wonderfully vital. Thanks for the whole thing!

Leave a Reply