*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> perl5/Text::Tabs (3)              
Title
Content
Arch
Section
 

d(1)

Contents


Text::Tabs(3)							 Text::Tabs(3)


NAME    [Toc]    [Back]

     Text::Tabs	-- expand and unexpand tabs per	the unix expand(1) and
     unexpand(1)

SYNOPSIS    [Toc]    [Back]

     use Text::Tabs;

     $tabstop =	4; @lines_without_tabs = expand(@lines_with_tabs);
     @lines_with_tabs =	unexpand(@lines_without_tabs);

DESCRIPTION    [Toc]    [Back]

     Text::Tabs	does about what	the unix utilities expan
     do.  Given	a line with tabs in it,	expand will replace the	tabs with the
     appropriate number	of spaces.  Given a line with or without tabs in it,
     unexpand will add tabs when it can	save bytes by doing so.	 Invisible
     compression with plain ascii!

BUGS    [Toc]    [Back]

     expand doesn't handle newlines very quickly -- do not feed	it an entire
     document in one string.  Instead feed it an array of lines.

AUTHOR    [Toc]    [Back]

     David Muir	Sharnoff <[email protected]>


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
unexpand HP-UX expand tabs to spaces, and vice versa
expand OpenBSD expand tabs to spaces, and vice versa
unexpand FreeBSD expand tabs to spaces, and vice versa
expand FreeBSD expand tabs to spaces, and vice versa
unexpand OpenBSD expand tabs to spaces, and vice versa
expand HP-UX expand tabs to spaces, and vice versa
lessecho Linux expand metacharacters, such as * and ?, in filenames on Unix systems.
xfs_growfs IRIX expand an XFS filesystem
growfs IRIX expand a filesystem
unpack HP-UX compress and expand files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service