Date: Thu, 25 Sep 2008 22:14:23 +0800 From: Zhang Weiwu <zhangweiwu@realss.com> To: freebsd-questions@FreeBSD.org Subject: command line tool to format or display tab-separate-value? Message-ID: <48DB9CBF.9070006@realss.com>
next in thread | raw e-mail | index | archive | help
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@envirofrinds.ngo.cn 蔡涛 世界自然基金会 tcai@wwchina.org 王香奕 中国民促会 wangxiangyi@cago.org 魏娟 世界自然保护联盟 weijuan@iuc.org.cn 吴若冰 美国环保协会 wwwrb@16.com 熊昆 北京地球村 kimxiong2002@yhoo.cn xxy@cumtb.ed.cn 易懿敏 自然之友 yiyimin@fon.or.cn 费晓静 绿色大学生论坛 yzxiaoji@gmal.com A "Properly formatted" version readable on the console would be like this: 池田武 环境友… takesh… 蔡涛 世界自… tcai@w… 王香奕 中国民… wangxi… 魏娟 世界自… weijua… 吴若冰 美国环… wwwrb@… 熊昆 北京地… kimxio… xxy@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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48DB9CBF.9070006>