[Discuss] how to get formatted output by awk ?

J. Bakshi bakshi12 at gmail.com
Sat Oct 3 07:54:57 PDT 2009


Hello list,

I am trying to convert single column to formatted multi-column output. For an example the out put from a file by cat is 

````````````
name1
name2
...
..
..
name-n
```````

And I am trying to format the output like

``````````````````
name1  name2  name3
name4.........name6
..............name-n
`````````````````
I am trying to do the same with awk but no success yet.
Any clue ?

Thanks


More information about the Discuss mailing list