Re: formatting text

2005-11-29 Thread Brano Gerzo
Ing. Branislav Gerzo [IBG], on Tuesday, November 29, 2005 at 17:14 (+0100) wrote: IBG> And I'd like to print: IBG> |Name: Branislav | IBG> |Surname.: Gerzo | IBG> 26.^

Re: formatting text

2005-11-29 Thread Ing. Branislav Gerzo
Jeff 'japhy' Pinyan [JP], on Tuesday, November 29, 2005 at 09:12 (-0500 (EST)) wrote the following: Jeff, Perl6::Form is so powerful. But I can't find how to properly do this: I have values: ('Name','Branislav'); ('Surname','Gerzo'); And I'd like to print: |Name: Branislav

Re: formatting text

2005-11-29 Thread Ing. Branislav Gerzo
Jeff 'japhy' Pinyan [JP], on Tuesday, November 29, 2005 at 09:12 (-0500 (EST)) thoughtfully wrote the following: >> I'd like to know if there is module for following: JP> Yes, Perl6::Form. It's a Perl 5 implementation of Perl 6's formats. sometime is better ask, than DIY. Thanks a lot Japhy, thi

Re: formatting text

2005-11-29 Thread Jeff 'japhy' Pinyan
On Nov 29, Ing. Branislav Gerzo said: I'd like to know if there is module for following: Yes, Perl6::Form. It's a Perl 5 implementation of Perl 6's formats. 112 12345678901234567890 === OUT === | This is just | | small sentence | | about nothing. | === OUT === So, I

RE: formatting text

2001-09-19 Thread Najamuddin, Junaid
Hi, # Define your fields my($fld1, $fld2, $fld3, $fld4, $fld5, $fld6, $fld7, $fld8); # load fields in array which are separated by pipe delimit foreach $val1(@arr1) # referring to values in array {($fld1, $fld2, $fld3, $fld4, $fld5, $fld6, $fld7, $fld8) = split(/\|/,"$val1"); # Print th

Re: Formatting text

2001-08-28 Thread Randal L. Schwartz
> "Mike" == Mike Rapuano <[EMAIL PROTECTED]> writes: Mike> I was searching for a diff-like perl tool for NT and came Mike> accross this persons code. Worked well for me. You might look at Algorithm::Diff, and especially the magazine column I wrote on that. The advantage over the [snipped] c

Re: Formatting text

2001-08-28 Thread Aravindan . Sundaram
Hope you have a file which contains these lines, Just check below code : $File = "sample.txt"; open(IN,"<$File"); while() { $_ =~ s/\x0d//g; if( $_ =~ m/play/i ) { $Result = ""; while( $_ =~ /.{0,5}play.{0,5}/i ) { $Result .= $`;

RE: Formatting text

2001-08-28 Thread Mike Rapuano
EMAIL PROTECTED] ' Subject: RE: Formatting text If you are on a unix system...you can just say diff file1 file2. On Windows there is probably something comparable. -Original Message- From: Najamuddin, Junaid To: [EMAIL PROTECTED] Sent: 8/28/2001 9:18 AM Subject: Formatting text Hi, Her

RE: Formatting text

2001-08-28 Thread Najamuddin, Junaid
Sorry I forgot about the platform It is on Windows NT platform thanks -Original Message- From: Gibbs Tanton - tgibbs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 9:34 AM To: 'Najamuddin, Junaid '; '[EMAIL PROTECTED] ' Subject: RE: Formatting text

RE: Formatting text

2001-08-28 Thread Gibbs Tanton - tgibbs
If you are on a unix system...you can just say diff file1 file2. On Windows there is probably something comparable. -Original Message- From: Najamuddin, Junaid To: [EMAIL PROTECTED] Sent: 8/28/2001 9:18 AM Subject: Formatting text Hi, Here is my script, I am comparing two txt files whi

Re: Formatting text

2001-08-24 Thread Curtis Poe
--- Michael Fowler <[EMAIL PROTECTED]> wrote: > On Fri, Aug 24, 2001 at 12:23:17PM -0700, Curtis Poe wrote: > > --- [EMAIL PROTECTED] wrote: > > This is such a common problem that "use strict 'system'" is being > > considered for Perl 6. > > Hm, I don't remember any discussion on that one, but pe

Re: Formatting text

2001-08-24 Thread Michael Fowler
On Fri, Aug 24, 2001 at 12:23:17PM -0700, Curtis Poe wrote: > --- [EMAIL PROTECTED] wrote: > This is such a common problem that "use strict 'system'" is being > considered for Perl 6. Hm, I don't remember any discussion on that one, but perhaps I missed something. Regardless, you don't need to w

RE: Formatting text

2001-08-24 Thread Curtis Poe
--- [EMAIL PROTECTED] wrote: > This is going off of two assumptions, 1) that you want the task number to be > unique and 2) the fields are supposed to be tab delimited. If you want to > remove the dups from a different column then make that column as the key to > the hash. As for which fields, you

RE: Formatting text

2001-08-24 Thread pconnolly
47 AM To: 'Wagner-David' Cc: '[EMAIL PROTECTED]' Subject: RE: Formatting text Thanks Attached is a text file which needs formatting It has records with fields defined, but has some records repeated I want to format this file and out put to another one with fields of my choice

RE: Formatting text

2001-08-24 Thread Wagner-David
]] Sent: Friday, August 24, 2001 09:47 To: Wagner-David Cc: '[EMAIL PROTECTED]' Subject: RE: Formatting text Thanks Attached is a text file which needs formatting It has records with fields defined, but has some records repeated I want to format this file and out put to another one with fi

RE: Formatting text

2001-08-24 Thread Najamuddin, Junaid
Title: RE: Formatting text Thanks Attached is a text file which needs formatting It has records with fields defined, but has some records repeated I want to format this file and out put to another one with fields of my choice and only one instance of each record Thanks -Original