Front page | perl.beginners |
Postings from April 2002
grep
Thread Next
From:
Mandar Rahurkar
Date:
April 2, 2002 20:53
Subject:
grep
Message ID:
20020403045349.62168.qmail@web10103.mail.yahoo.com
Hi,
I need to select particular files from list that looks like this :
2168a5_vow_band_1.fea
169b2_vow_band_1.fea
2168d6_vow_band_1.fea
169g3_vow_band_1.fea
neutral.txt
This is how the list if files look like.I need files with only g for
eg
I can do it in linux as follows :
but this doesnt work in perl :
ls ???[g][^1] *.fea
ls ???[^g][^1] *.fea
I tried using :
exec(`ls ???[d][^1]*.fea > temp.neutral`) in perl doesnt work.
Please help...
Many Thanks
Mandar
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
Thread Next