Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

text::wrapi18n(3pm) [debian man page]

WrapI18N(3pm)						User Contributed Perl Documentation					     WrapI18N(3pm)

NAME
Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words SYNOPSIS
use Text::WrapI18N qw(wrap $columns); wrap(firstheader, nextheader, texts); DESCRIPTION
This module intends to be a better Text::Wrap module. This module is needed to support multibyte character encodings such as UTF-8, EUC- JP, EUC-KR, GB2312, and Big5. This module also supports characters with irregular widths, such as combining characters (which occupy zero columns on terminal, like diacritical marks in UTF-8) and fullwidth characters (which occupy two columns on terminal, like most of east Asian characters). Also, minimal handling of languages which doesn't use whitespaces between words (like Chinese and Japanese) is supported. Like Text::Wrap, hyphenation and "kinsoku" processing are not supported, to keep simplicity. wrap(firstheader, nextheader, texts) is the main subroutine of Text::WrapI18N module to execute the line wrapping. Input parameters and output data emulate Text::Wrap. The texts have to be written in locale encoding. SEE ALSO
locale(5), utf-8(7), charsets(7) AUTHOR
Tomohiro KUBOTA, <kubota@debian.org> COPYRIGHT AND LICENSE
Copyright 2003 by Tomohiro KUBOTA This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2009-06-09 WrapI18N(3pm)

Check Out this Related Man Page

WrapI18N(3pm)						User Contributed Perl Documentation					     WrapI18N(3pm)

NAME
Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words SYNOPSIS
use Text::WrapI18N qw(wrap $columns); wrap(firstheader, nextheader, texts); DESCRIPTION
This module intends to be a better Text::Wrap module. This module is needed to support multibyte character encodings such as UTF-8, EUC- JP, EUC-KR, GB2312, and Big5. This module also supports characters with irregular widths, such as combining characters (which occupy zero columns on terminal, like diacritical marks in UTF-8) and fullwidth characters (which occupy two columns on terminal, like most of east Asian characters). Also, minimal handling of languages which doesn't use whitespaces between words (like Chinese and Japanese) is supported. Like Text::Wrap, hyphenation and "kinsoku" processing are not supported, to keep simplicity. wrap(firstheader, nextheader, texts) is the main subroutine of Text::WrapI18N module to execute the line wrapping. Input parameters and output data emulate Text::Wrap. The texts have to be written in locale encoding. SEE ALSO
locale(5), utf-8(7), charsets(7) AUTHOR
Tomohiro KUBOTA, <kubota@debian.org> COPYRIGHT AND LICENSE
Copyright 2003 by Tomohiro KUBOTA This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2009-06-12 WrapI18N(3pm)
Man Page

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Eliminating whitespaces during reading of a field.

I am reading a field from a file. This field have trailing whitespaces. Does anyone knows, how to get rid of these whitespaces, at the time of reading? I know sed command as follows which removes whitespaces on a row - sed 's/*$//' rows (4 Replies)
Discussion started by: videsh77
4 Replies

2. Red Hat

combining two/three line in to one

Hi Radoulov, I have tried the code for testing as I too required this on numbers of occasion to combining two line having length of 132 characters .I am using RedHat 9 Linux. I am using like if ( nr % 2 == o ) or if ( nr % 3 == 0 ) and fetching the data from the... (0 Replies)
Discussion started by: vakharia Mahesh
0 Replies

3. Shell Programming and Scripting

usage of module Text::Wrap;

hi, i want to use module Text::Wrap. this module provides the option $Text::Wrap::tabstop to change the tabstop from 8 blanks to any nummer. i want to set it to 30 blanks. but when i change the nummer of blanks nothing happens. Text::Wrap::tabstop = 30; $wtd = wrap("","\t",$1); or do i... (3 Replies)
Discussion started by: trek
3 Replies

4. Shell Programming and Scripting

deleting symbols and characters between two words

Hi Please tell me how could i delete symbols, whitespaces, characters, words everything between two words in a line. Let my file is aaa BB ccc ddd eee FF kkk xxx 123456 BB 44^& iop FF 999 xxx uuu rrr BB hhh nnn FF 000 I want to delete everything comes in between BB and FF( deletion... (3 Replies)
Discussion started by: rish_max
3 Replies

5. UNIX for Dummies Questions & Answers

How to wrap words in vi?

I just typed several long lines into vi but I only want it to have 80 columns. How can I set this in vi? (3 Replies)
Discussion started by: guitarscn
3 Replies

6. Shell Programming and Scripting

Remove whitespaces in the n first characters?

I assume removing whitespaces in the n first characters of a string would be an easy task for sed? If so, how? (7 Replies)
Discussion started by: KidCactus
7 Replies

7. Shell Programming and Scripting

Transpose few columns alone in a Text file

Hi Friends, I am Stuck up with a problem on transposing Rows to Coloumns.. Though there are many threads on this my problem is little difficult.. I have a tab separated file like Below, computer selling_loc currency_type manufacturer_name salesweek-wk1 sales-wk2 ...wk-3 ..wk4 till... (7 Replies)
Discussion started by: heinz_holan
7 Replies

8. Shell Programming and Scripting

How can i find texts inside a html tag using sed?

How can i find texts inside a html tag using sed? Html texts: What i tried: cat infile | sed -e 's/\(<kbd*\)\(.*\)\(kbd>\)/\2/ Expected result like this: sed -i -e 's/@colophon/@@colophon/' \ -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo (5 Replies)
Discussion started by: cola
5 Replies

9. Post Here to Contact Site Administrators and Moderators

Can there be alt-texts to icons?

Can you add hover texts (alt-texts) to icons? It is not always obvious what each of them mean just by looking at them. Sometimes it is clear from the url it points to, but for accessibility reasons alone it would be good to have alt-texts as a standard. (1 Reply)
Discussion started by: figaro
1 Replies

10. UNIX for Beginners Questions & Answers

Text not present in file

File 1: AAAAAA-100000 | ID: C110X01 AAAAAA-100000 | ID : P110X01 DDDDDD-8911694 | ID: P110X01 File2:- ------------------------------------------------------------------------ r1111111 | AAAAAA-100000 | 2011-06-16 11:47:33 +0530 (Fri, 16 Jun 2011) | 2 lines Changed paths: A... (9 Replies)
Discussion started by: vikassahalgaur
9 Replies