hey,
   Thanks a lot.How is negation used for eg ^1 for no ones I tried ^1 as
in shell.doesnt work !!

Thanks
Mandar

On Wed, 3 Apr 2002, Sudarsan Raghavan wrote:

> Mandar Rahurkar wrote:
>
> > 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 :
>
>      Use the glob operator (perldoc -f glob and perldoc File::Glob)
>      For e.g. to list files that start with 16
>      perl -e 'print "$_\n" while (<16*>)'
>                                                         ^^^^^
>                                                        This is the how
> the glob operator is used for this e.g.
>
>
> >
> > 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/
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to