This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Why is the sort-test ignoring ':', '(' and ';' and trailing space
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Sun, 14 Dec 2003 20:10:20 +0100
- Subject: Re: Why is the sort-test ignoring ':', '(' and ';' and trailing space
- Bcc: Petter Reinholdtsen <petter dot reinholdtsen at usit dot uio dot no>
- References: <E19ZG1i-00009m-00@saruman.uio.no> <2flwu91mw2e.fsf@saruman.uio.no> <20031214130149.GA9876@rap.rap.dk>
[Keld Jørn Simonsen]
> It is probeably not ignoring these characters, but handling them as
> special characters, which are ignored at the first 3 levels, and
> then handled at level 4. This is in accordance with many national
> and international standards.
No, you are mistaken. It is splitting the lines on these characters,
and ignoring all white in front of them and the rest of the line.
So for a line like this
"foo bar ; dummy entry"
it only compare "foo bar".