Hi there,

I assume that this is intended behaviour and not a bug, but I couldn't
find it documented, and wanted to know how to disable it.

Summary: When sorting a list of word with dashes in them, sort appears to
ignore the dashes (textutils v2.0).

The following file is not changed by sort:

    a
    a-b
    ab
    a-c
    ac

I want to sort it like this:

    a
    a-b
    a-c
    ab
    ac

Because ASCII '-' is smaller than alphabetical chars.

Is there any way to make sort behave like this?

Regards,

Corin

/------------------------+-------------------------------------\
| Corin Hartland-Swann   | Direct: +44 (0) 20 7544 4676        |
| Commerce Internet Ltd  | Mobile: +44 (0) 79 5854 0027        |
| 22 Cavendish Buildings |    Tel: +44 (0) 20 7491 2000        |
| Gilbert Street         |    Fax: +44 (0) 20 7491 2010        |
| Mayfair                |    Web: http://www.commerce.uk.net/ |
| London W1K 5HJ         | E-Mail: [EMAIL PROTECTED]        |
\------------------------+-------------------------------------/


_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to