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

formatting text

2005-11-29 Thread Ing. Branislav Gerzo
Hello all, I'd like to know if there is module for following: We have text: === IN === This is just small sentence about nothing. === IN === And I like to format it as follows: 112 12345678901234567890 === OUT === | This is just | | small sentence | | about nothing. | ==

RE: formatting text

2001-09-19 Thread Najamuddin, Junaid
; # Print the selected fields print " $fld4, '$fld3'($fld2)\n"; I hope I have answered your question Take care junaid -Original Message- From: Edward [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 11:34 AM To: [EMAIL PROTECTED] Subject: formatting tex

formatting text

2001-09-19 Thread Edward
Hi , I'm trying to extract clients with Lost-Carrier as Terminate-Cause from a raw radius file. I'm interested in 2 fields. User-name and Terminate Cause. On running my script. I get a full list of all client User-names. and those with Termiante-Cause. Can some one assist me "One cannot guess t

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

Formatting text

2001-08-28 Thread Najamuddin, Junaid
Title: RE: Formatting text Hi, Here is my script, I am comparing two txt files which are pipe delimited line by line if they match then their is no output but if they do not match then it gives an output about the difference  My both files are loaded in the array and I am comparing line by

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

Formatting text

2001-08-24 Thread Najamuddin, Junaid
Thanks in advance How can we read a log text file which has columns and rows. The file has ten columns defined by a header/field name What i want is to out put into another text file but only the desired columns not all of them Some lines/records have duplicates so after this I want to sort them s