On 10/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Basically, I have a file structure similar to: > > Dir1\Dir2\Support\119404\dirx\diry > Dir1\Dir3\Support\119893\dirx > Dir1\Dir4\Support\188884\dirx\diry\dirz > ..... > Dir1\Dir1000\Support\100858 > > I am simply interested in finding the directories directley under the Support > dir (ex.119404 from the 1st example) . There is no consistancy to the naming > convention other then Dir1 and Support. Dir2 can be many different values.
I think you just need to use glob(). Maybe this perl -e 'print glob("Dir1/*/Support/*/") with some tweaking will give you the directories you want. Best regards, Adriano. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>