Re: regex for shared object files

2002-01-10 Thread John W. Krahn
Zentara wrote: > > Hi, Hello, > I'm trying to find all .so.xxx files on my system. > Eventually I want to do things with them, but for > now I just want to identify them. > > I pretty much have it, except I'm lacking enough > regex knowledge to separate out the so from the .so. > files. > >

Re: regex for shared object files

2002-01-10 Thread Christopher Solomon
On Thu, 10 Jan 2002, Christopher Solomon wrote: > > On Thu, 10 Jan 2002, zentara wrote: > > > Hi, > > I'm trying to find all .so.xxx files on my system. > > Eventually I want to do things with them, but for > > now I just want to identify them. > > > > I pretty much have it, except I'm lacking en

Re: regex for shared object files

2002-01-10 Thread Christopher Solomon
On Thu, 10 Jan 2002, zentara wrote: > Hi, > I'm trying to find all .so.xxx files on my system. > Eventually I want to do things with them, but for > now I just want to identify them. > > I pretty much have it, except I'm lacking enough > regex knowledge to separate out the so from the .so. > f

Re: regex for shared object files

2002-01-10 Thread Curtis Poe
--- zentara <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to find all .so.xxx files on my system. > Eventually I want to do things with them, but for > now I just want to identify them. > > I pretty much have it, except I'm lacking enough > regex knowledge to separate out the so from the .so. >

RE: regex for shared object files

2002-01-10 Thread Mark Anderson
It's not clear to me if you like matching libqt-mt.so If you do, then change your regex to: if ($name =~ m/\.so/) # escape the period makes it match an actual period If not, then change it to: if ($name =~ m/\.so\./) #matches libqt.so.2, but not libqt-mt.so the . character in your origina