sort -d does not produce dictionary order
"Jeff Orrok" <[email protected]> Fri, 13 Jun 2003 23:48:03 -0700 (PDT)
| Newsgroups | gmane.comp.gnu.textutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
[root@voc root]# sort --version
sort (textutils) 2.0.21
Written by Mike Haertel and Paul Eggert.
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Redhat Linux 7.3
According to the man page, -d gives dictionary order, which should count
blanks as coming before letters -- at least that's the way I was taught in
school. However, using -d produces the same output as omitting -d. When I
sort the parameters from the Samba smb.conf man page, part of what I get is:
· config file
· deadtime
· debug hires timestamp
· debuglevel
· debug pid
· debug timestamp
· debug uid
· default
· default service
debuglevel belongs after debug uid.
Regards,
Jeff Orrok