Re: Parsing a file within a jar file

2007-07-01 Thread yitzle
On 6/27/07, Chas Owens <[EMAIL PROTECTED]> wrote: On 6/27/07, Ken Foskey <[EMAIL PROTECTED]> wrote: > On Wed, 2007-06-27 at 08:11 -0500, Daniel W. Hurn wrote: > > Does anyone have any suggestion on how to examine/parse a file within a > > jar file? > > jar is a java file and I think it is simply

Re: Parsing a file within a jar file

2007-06-27 Thread Laxminarayan G Kamath A
On Wed, 27 Jun 2007 08:11:12 -0500, "Daniel W. Hurn" <[EMAIL PROTECTED]> wrote: > Does anyone have any suggestion on how to examine/parse a file within > a jar file? If you are doing something with regard to java itself , then there might even be some readymade modules already in CPAN. I found a

Re: Parsing a file within a jar file

2007-06-27 Thread Chas Owens
On 6/27/07, Ken Foskey <[EMAIL PROTECTED]> wrote: On Wed, 2007-06-27 at 08:11 -0500, Daniel W. Hurn wrote: > Does anyone have any suggestion on how to examine/parse a file within a > jar file? jar is a java file and I think it is simply a zipped file. snip I can confirm that all three levels o

Re: Parsing a file within a jar file

2007-06-27 Thread Ken Foskey
On Wed, 2007-06-27 at 08:11 -0500, Daniel W. Hurn wrote: > Does anyone have any suggestion on how to examine/parse a file within a > jar file? jar is a java file and I think it is simply a zipped file. -- Ken Foskey FOSS developer -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Parsing a file within a jar file

2007-06-27 Thread Daniel W. Hurn
Does anyone have any suggestion on how to examine/parse a file within a jar file? -- Dan

Re: parsing a file

2004-04-06 Thread WC -Sx- Jones
Stephen Finley wrote: "/> it should get changed to the following? "/> You are saying this is wrong: "/> (It has And this is right? "/> This \\ escapes only the slash in \\" not the " so the result is unbalanced " " in the output -- is that what you want? I think you need to test ahead for \" a

parsing a file

2004-04-06 Thread Stephen Finley
Hi all hope someone can help We have several jsp files that are not formatted correctly. I have a script that will escape a quote if it is not all ready escaped in a valid statement, but can not get it to work if the quote is already escaped inside a quoted statement. Any idea what to do with a

Re: Parsing a file

2003-06-23 Thread John W. Krahn
Trevor Morrison wrote: > > Hi, Hello, > I am new to using Perl to parse a file. What I am trying to do is > parse a file that is made of online orders. I have written some code > using for and if statements that will go through the file line by line > and using regex I try to match the informa

Parsing a file

2003-06-23 Thread Morrison, Trevor (Trevor)
Hi, I am new to using Perl to parse a file. What I am trying to do is parse a file that is made of online orders. I have written some code using for and if statements that will go through the file line by line and using regex I try to match the information with the variables so that I can wri

Parsing a File

2001-08-05 Thread Kevin der Kinderen
I'm looking for pointers on what to do next. I have a file (the output from 'show cdp neighbors detailed' on a Cisco router. I created a short program which captures the output to a file - looks something like this... CDP log for ca5gw001.winstar.com Created: 22:00:29 - 2001/08/01 ---

Re: Parsing a file

2001-07-19 Thread Sascha Kersken
whoops! I think I missed something important: The line if /^tftpd/ should be if (/^tftpd/) of course! Sascha -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Parsing a file

2001-07-19 Thread Sascha Kersken
chomp; if /^tftpd/ { # place any code here that depends on the # last line beginning by tftpd } - but concerning the progress bar, I don't understand well what you mean. Sascha -- >Von: Jorge Goncalvez <[EMAIL PROTECTED]> >An: [EMAIL PROTECTED] >Betreff: Re:

Re: Parsing a file

2001-07-19 Thread Jorge Goncalvez
Hi, I must parse a file :c:\cygwin_syslog.txt which is growing I must see the last line: if it begins by tftpd I must implement a variable to make a progress bar growing to 0 to 100 %. How can I do that? Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: PARSING A FILE

2001-06-14 Thread Chas Owens
The following code does no checking to insure the format is correct. This is left as an excerise for the reader. #!/usr/bin/perl -w use strict; #make me behave my $first = 1; my $line; while (<>) { #read lines from stdin or files listed #on cmd lin

RE: PARSING A FILE

2001-06-14 Thread Wagner-David
yLine1, $MyLine2; }else { # error since expecting in format of namex,line1,line2 } } Wags ;) -Original Message- From: Pedro A Reche Gallardo [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 13:54 To: [EMAIL PROTECTED] Subject: PARSING A FILE Hi to everyone, I have a file th

PARSING A FILE

2001-06-14 Thread Pedro A Reche Gallardo
Hi to everyone, I have a file that it looks like this >name1 line 1 line 2 >name2 line a line b and I want it to look this way name1 line1.line2 name2 linea.lineb Anyone help welcomed Greetings, Pedro -- **