From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 14:33:04 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF6601065687 for ; Thu, 25 Sep 2008 14:33:04 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.114.130]) by mx1.freebsd.org (Postfix) with ESMTP id 88DCC8FC17 for ; Thu, 25 Sep 2008 14:33:04 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 652401C003E for ; Thu, 25 Sep 2008 22:14:52 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09073-14 for ; Thu, 25 Sep 2008 22:14:51 +0800 (CST) Received: from [192.168.1.103] (unknown [61.49.215.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id 73AA01C0029 for ; Thu, 25 Sep 2008 22:14:51 +0800 (CST) Message-ID: <48DB9CBF.9070006@realss.com> Date: Thu, 25 Sep 2008 22:14:23 +0800 From: Zhang Weiwu Organization: Real Softservice User-Agent: Thunderbird 2.0.0.14 (X11/20080621) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Cc: Subject: command line tool to format or display tab-separate-value? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 14:33:04 -0000 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!