amoura has asked for the wisdom of the Perl Monks concerning the following question:
user/bla/bli/one.cxx cxx bla hi /bin user/somthing/cxx
well I am trying somehow to only grep the directory bla in the first line and one.cxx file from the first line .
when I do match string , I get stuff like cxxd or scxx , I need only the .cxx file and the dirctory containing that file . can someone help .. thanks
2002-06-25 Edit by Corion Added formatting and moved to Seekers of Perl Wisdom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: grep string
by kvale (Monsignor) on Jun 25, 2002 at 20:34 UTC | |
by amoura (Initiate) on Jun 25, 2002 at 21:09 UTC |