En Fri, 09 Mar 2007 11:28:15 -0300, Vulcanius <[EMAIL PROTECTED]>
escribió:
> Here is the code I've come up with. Please feel free to critique it
> and let me know what you would change. Also, as you can see I call
> "open(SERVER,'r')" twice; but I want to only call it once, what would
> the bes
Here is the code I've come up with. Please feel free to critique it
and let me know what you would change. Also, as you can see I call
"open(SERVER,'r')" twice; but I want to only call it once, what would
the best way to do this be?
imp
On Mar 8, 10:35 am, [EMAIL PROTECTED] wrote:
(snipped)
>
> Ok, regex was my first thought because I used to use grep with Perl
> and shell scripting to grab everything from one pattern to another
> pattern. The file is just an unformatted file. What is below is
> exactly what is in the file. The
On Mar 8, 12:50 pm, "Jordan" <[EMAIL PROTECTED]> wrote:
> On Mar 8, 12:46 pm, "Jordan" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 8, 11:52 am, "Rune Strand" <[EMAIL PROTECTED]> wrote:
>
> > > On Mar 8, 5:12 pm, [EMAIL PROTECTED] wrote:
>
> > > > I am using a script with a single file containing al
On Mar 8, 12:46 pm, "Jordan" <[EMAIL PROTECTED]> wrote:
> On Mar 8, 11:52 am, "Rune Strand" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 8, 5:12 pm, [EMAIL PROTECTED] wrote:
>
> > > I am using a script with a single file containing all data in multiple
> > > sections. Each section begins with "#VS:C
On Mar 8, 11:52 am, "Rune Strand" <[EMAIL PROTECTED]> wrote:
> On Mar 8, 5:12 pm, [EMAIL PROTECTED] wrote:
>
> > I am using a script with a single file containing all data in multiple
> > sections. Each section begins with "#VS:CMD:command:START" and ends
> > with "#VS:CMD:command:STOP". There is a
On Mar 8, 5:12 pm, [EMAIL PROTECTED] wrote:
> I am using a script with a single file containing all data in multiple
> sections. Each section begins with "#VS:CMD:command:START" and ends
> with "#VS:CMD:command:STOP". There is a blank line in between each
> section. I'm looking for the best way to
I am using a script with a single file containing all data in multiple
sections. Each section begins with "#VS:CMD:command:START" and ends
with "#VS:CMD:command:STOP". There is a blank line in between each
section. I'm looking for the best way to grab one section at a time.
Will I have to read the