[Hugs-bugs] make_bootlib

Victor Secarin vsecarin at paradigmgeo.com
Wed Mar 9 14:00:12 EST 2005


To whom it may concern:

I have finally succeeded in building a recent snapshot of Hugs on my 
Fedora 1 box. I have built the late February snapshot and then the March 
7 and the March 8 ones.
All builds required the following same fix:

- in file  libraries/tools/make_bootlib - on line 77 - replace   [a-z]   
with [abcdefghijklmnopqrstuvwxyz]

Explanation: they changed the collating sequence on us.

In older distros, the Unix collating sequence, which we have learned to 
expect, used to be   ABC...XYZabc...xyz.  In that case, saying [a-z] 
means "all the lowercase letters"

However, in Fedora 1, if you do for instance an 'ls', you can easily see 
that the new collating sequence is now   AaBbCc....XxYyZz.   In this 
case, [a-z] now means "all letters, uppercase or lowercase, except A".
Since [a-z]  is in the argument to   '-prune',  the result is that it 
prunes everything except Array.hs.

Using [abcdefghijklmnopqrstuvwxyz] instead is by all means ugly, but 
then shell scripting is ugly by default. Just as long as it works.

I cannot imagine many sillier things than changing the collating 
sequence on everyone. So who do I tell? I guess we all want to be like 
Windows and we just don't know it...

yours truly,
Victor Secarin



More information about the Hugs-Bugs mailing list