PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] The lines should be sorted according to the first letter?
Date: Wednesday, 18 Mar 2020, 17:59:28


    > Message Posted By: Unknown
    >
    > The lines should be sorted based on what? The first letter?

As stated in the specification:

  7. The ordering of the keys associated with each line is that defined by
     strcmp() or strncmp() when the environment variable LC_COLLATE is set to
     the value specified in the individual test scripts (normally "POSIX").
     Thus you must compare keys using one of these functions.

--Stan-
PREV INDEX NEXT