Re: finding a spot in a file

2003-10-10 Thread chad kellerman
John, Thanks that was perfect.. Chad On Fri, 2003-10-10 at 03:11, John W. Krahn wrote: > Chad Kellerman wrote: > > > > Hello, > > Hello, > > >I am opening up a file (actually a my.conf). I only want 2 lines in > > the file. port and datadir > > > >The problem I am running int

Re: finding a spot in a file

2003-10-10 Thread Rob Dixon
Chad Kellerman wrote: > >I am opening up a file (actually a my.conf). I only want 2 > lines in the file. port and datadir > >The problem I am running into is that there is a > port = 3324 in both the [client] section and the [mysqld] > section. > >I want to open the file and go straig

Re: finding a spot in a file

2003-10-10 Thread Tore Aursand
On Thu, 09 Oct 2003 21:12:38 -0400, chad kellerman wrote: > Can anyone point me in the right direction? Seems like you're trying to read a configuration file. There are modules to do that work for you. Check out CPAN. -- Tore Aursand <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PR

Re: finding a spot in a file

2003-10-10 Thread John W. Krahn
Chad Kellerman wrote: > > Hello, Hello, >I am opening up a file (actually a my.conf). I only want 2 lines in > the file. port and datadir > >The problem I am running into is that there is a port = 3324 in both > the [client] section and the [mysqld] section. > >I want to open the