summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-05-10 09:42:14 +0000
committerJim Meyering <jim@meyering.net>2003-05-10 09:42:14 +0000
commit06dacc0d6d1561500bd4d883db4b7945553bd603 (patch)
tree6d535ffa82d347726d3de70b1583ec53217c5477 /doc
parenta228d68c3352386d4670e73201e2a2fb86f277cd (diff)
downloadcoreutils-06dacc0d6d1561500bd4d883db4b7945553bd603.tar.xz
(More details about version sort): Note that strverscmp, and hence
`ls -v', does not use LC_COLLATE.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index ad843d8f7..18479cac7 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -5388,6 +5388,12 @@ fractional one:
abc-1.01a.tgz abc-1.012b.tgz
@end example
+This functionality is implemented using the @code{strverscmp} function.
+@xref{String/Array Comparison, , , libc, The GNU C Library Reference Manual}.
+One result of that implementation decision is that @code{ls -v} does not
+use the locale category, @env{LC_COLLATE}. As a result, non-numeric prefixes
+are sorted as if @env{LC_COLLATE} were set to @code{C}.
+
@node General output formatting
@subsection General output formatting