From owner-freebsd-questions@FreeBSD.ORG Wed May 18 18:09:38 2011 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 C8328106566B for ; Wed, 18 May 2011 18:09:38 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 90A878FC17 for ; Wed, 18 May 2011 18:09:38 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p4II9b8U042769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 May 2011 13:09:37 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id p4II9bOg064875 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 May 2011 13:09:37 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.4/Submit) id p4II9a79064867; Wed, 18 May 2011 13:09:36 -0500 (CDT) (envelope-from dan) Date: Wed, 18 May 2011 13:09:36 -0500 From: Dan Nelson To: Gary Kline Message-ID: <20110518180936.GD34082@dan.emsphone.com> References: <20110518174141.GA62977@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110518174141.GA62977@thought.org> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Wed, 18 May 2011 13:09:37 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: FreeBSD Mailing List Subject: Re: Expanding tabs (was Re: kwik way?) 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: Wed, 18 May 2011 18:09:38 -0000 In the last episode (May 18), Gary Kline said: > should i use tr or sed to turn "\t" into " "? --i.e., tabs into spaces. tr or expand (depending on whether you want to honor the intent of the tab or not). sed is overkill. -- Dan Nelson dnelson@allantgroup.com