Rob Dixon wrote:
> Mathew wrote:
>> I have a file with a list of subfolders.  The list was created using dir
>> and each entry is like thus:
>>
>> 12/12/2005  04:38 AM    <DIR>          A Perfect Circle
>>
>> I then created a simple script that I hoped would eliminate everything
>> prior to the last bit of text which follows the big space.
> 
> [snip]
> 
> Hi Mathew.
> 
> First of all, look at the output of
> 
> dir /ad /b "H:\My Music"
> 
> and see if it isn't closer to what you want!
> 
> HTH,
> 
> Rob
> 
For a minute I thought you were snooping around my box ;)

Actually, that is what I used to create the list of directories first.  It is
what gave me the long output that I listed earlier.

Citlali had provided a regex that almost did what I wanted and then David gave
me one that did exactly what I wanted.

With everyone's input I was eventually able to get it to do exactly what I was
asking.  Thanks all.

Mathew

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to