[linux-l] case-less bash

Matthias Kranz matthiaskranz at gmx.de
Mo Nov 19 20:25:20 CET 2007


On Mon, 2007-11-19 at 20:03 +0100, Rocco Rutte wrote:
> Hi,
> 
> * Jan-Benedict Glaw wrote:
> 
> >An sich ja.  ABER die shell hat auch die Aufgabe, beim Globbing z.B.
> >die Argumente zu sortieren. Dazu werden die ganz regulären
> >libc-Funktionen benutzt, die modernerweise halt locale-abhängig
> >arbeiten.
> 
> Oh, schande über mich :-/. Hätte ich mal vorher in SuSv3 geguckt:
> 
> 2.13.3 Patterns Used for Filename Expansion
> 
> [...]
> 
> If the pattern matches any existing filenames or pathnames, the pattern 
> shall be replaced with those filenames and pathnames, sorted according 
> to the collating sequence in effect in the current locale.

Du hast Glück, dass Ulrich Drepper hier nicht mitliest ... ;)

Matthias
-- 
Matthias Kranz
http://mkr.oerks.de




Mehr Informationen über die Mailingliste linux-l