Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 15:43:46 +0100
From:      Anton Berezin <tobez@tobez.org>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        Josef Karthauser <joe@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: CVSROOT log_accum.pl
Message-ID:  <20011114154346.C79325@heechee.tobez.org>
In-Reply-To: <20011114133405.I849@tao.org.uk>; from joe@tao.org.uk on Wed, Nov 14, 2001 at 01:34:05PM %2B0000
References:  <200111132232.fADMWEm35517@freefall.freebsd.org> <20011114142319.B79325@heechee.tobez.org> <20011114133405.I849@tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 14, 2001 at 01:34:05PM +0000, Josef Karthauser wrote:

> BTW, can you think of an easy way in perl of converting tabs to
> spaces?

Sure:

	use Text::Tabs;

	@lines_without_tabs = expand(@lines_with_tabs);

Text::Tabs is a system module on both -stable an -current, i.e. you can
(for now) rely on it being present.

=Anton.
-- 
| Anton Berezin                |      FreeBSD: The power to serve |
| catpipe Systems ApS   _ _ |_ |           http://www.FreeBSD.org |
| tobez@catpipe.net    (_(_||  |                tobez@FreeBSD.org | 
| +45 7021 0050                |         Private: tobez@tobez.org |

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011114154346.C79325>