[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [LOCALE] regulære udtryk



Keld:

> Det kommer an på localet. Det localer der for tiden
> distribueres med gcc og linux er generiske,
> tegnsætsuafhængige localer, og det er det anbefalede.

Og alt andet ville være temmelig upraktisk.

> > > > For det andet: Det ville være temmeligt besværligt hvis det så blev
> > > > nødvendigt at skrive [abcdefghijklmnopqrstuvwxyz] for at matche et
> > > > lille bogstav mellem a og z.
> > > 
> > > Dertil har man [:lower:]
> > 
> > Nej, ikke hvis man kun ønsker at matche små bogstaver mellem a og z,
> > begge inkl., men ikke alle små bogstaver.

Der er vist ikke specielt udbredt enighed om hvilke
bogstaver, der kommer mellem a og z. I opremsningen ovenfor
mangler bl.a. á, à, ç, ð, é, í og ó.

> eksemplet var "rm" og det har ikke et sådant -i flag. 
> I det hele taget går problemstillingen på regex i skallen.
> Ikke inddata til forskellige programmer.

Kan det ikke klares ved at starte en underskal til den
specifikke kommando - i (t)csh-syntaks:

 ( set LC_COLLATE=C; rm [a-z].* )

?

Jacob
-- 
Warning: Dates in calendars are closer than they appear.



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:52 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *