command line tool to format or display tab-separate-value?

Zhang Weiwu zhangweiwu at realss.com
Thu Sep 25 14:33:04 UTC 2008


Hello. (to read this email you probably need to have a font that can
display ideographs)

I wish to be able to glance over my datasheet in tab-separate-value
format. A typical data file is like this:

池田武	环境友好公益协会	takeshi at envirofrinds.ngo.cn			
蔡涛	世界自然基金会	tcai at wwchina.org 			
王香奕	中国民促会	wangxiangyi at cago.org 			
魏娟	世界自然保护联盟	weijuan at iuc.org.cn 			
吴若冰	美国环保协会	wwwrb at 16.com			
熊昆	北京地球村	kimxiong2002 at yhoo.cn			
		xxy at cumtb.ed.cn			
易懿敏	自然之友	yiyimin at fon.or.cn 			
费晓静	绿色大学生论坛	yzxiaoji at gmal.com 			

A "Properly formatted" version readable on the console would be like this:

池田武   环境友… takesh…
蔡涛     世界自… tcai at w…
王香奕   中国民… wangxi…
魏娟     世界自… weijua…
吴若冰   美国环… wwwrb@…
熊昆     北京地… kimxio…
                 xxy at cu…
易懿敏   自然之… yiyimi…
费晓静   绿色大… yzxiao… 

Is there a tool to output the "properly formatted" version?

I guess I could easily write one with awk or C, but just in case someone
already wrote such tool...

Thanks for information in advance!



More information about the freebsd-questions mailing list