Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: strcmp Message-ID: <1991Jun25.180039.25946@zoo.toronto.edu> Date: Tue, 25 Jun 1991 18:00:39 GMT References: <2695@m1.cs.man.ac.uk> <1991Jun18.074029.12226@panix.uucp> <64771@bbn.BBN.COM> <677424380@romeo.cs.duke.edu> Organization: U of Toronto Zoology In article <677424380@romeo.cs.duke.edu> drh@duke.cs.duke.edu (D. Richard Hipp) writes: >... I need a strcmp that used in conjuction with sort will put >strings in what I would call "correct" alphabetical order... As others have observed, you're going to have to write your own, because there is no universal definition of "correct" alphabetical order. (For example, phonebook order != library card-catalog order != dictionary order.) -- "We're thinking about upgrading from | Henry Spencer @ U of Toronto Zoology SunOS 4.1.1 to SunOS 3.5." | henry@zoo.toronto.edu utzoo!henry