Date: Wed, 18 May 2011 12:10:01 -0700 From: Gary Kline <kline@thought.org> To: Dan Nelson <dnelson@allantgroup.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Expanding tabs (was Re: kwik way?) Message-ID: <20110518191001.GA22364@thought.org> In-Reply-To: <20110518180936.GD34082@dan.emsphone.com> References: <20110518174141.GA62977@thought.org> <20110518180936.GD34082@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 18, 2011 at 01:09:36PM -0500, Dan Nelson wrote: > Date: Wed, 18 May 2011 13:09:36 -0500 > From: Dan Nelson <dnelson@allantgroup.com> > Subject: Re: Expanding tabs (was Re: kwik way?) > To: Gary Kline <kline@thought.org> > Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> > > 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. yeah, agree. i grabbed an old `for k in *;do' script and used tr on 80+ files. [facing reality, i'm throwing in the towel on hacking. wanted something easy!] aapreciate it. > > -- > Dan Nelson > dnelson@allantgroup.com -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110518191001.GA22364>