reset LC_ALL to avoid locale dependent sorting.
This is critical to ensure bsort() works reliably.

In my locale "execline-cd" was sorted after "execlineb"

... lol. Changing the sorting order for ASCII characters is probably the
most insane misdesign in locales. Good catch!

 Thanks for the patch. Going to apply with a slight modification: making
the change global to the whole script, for easier maintainability.

--
 Laurent

Reply via email to