$ paste DATA1 DATA2 DATA3 regards, Andre | http://www.varon.ca
On Thu, Jan 22, 2009 at 1:07 AM, Gabriel Briones <[email protected]> wrote: > Hi Pluggers > I have a text file that has below data > DATA1 > aaa > bbb > ccc > DATA2 > ddd > eee > fff > DATA3 > ggg > hhh > iii > using a shell script, I want an output something like below > DATA1 DATA2 DATA3 > aaa ddd ggg > bbb eee hhh > ccc fff iii > > I've been reading a lot on awk and sed but I seems to can't find the ways to > do it. I'm wondering if someone here already did the above trick. _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

