mirror of https://github.com/mkerrisk/man-pages
strverscmp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
172070f8dc
commit
f47758ba0a
|
@ -50,7 +50,7 @@ which is implemented using
|
|||
.BR versionsort (3),
|
||||
which again uses
|
||||
.BR strverscmp ().
|
||||
|
||||
.PP
|
||||
Thus, the task of
|
||||
.BR strverscmp ()
|
||||
is to compare two strings and find the "right" order, while
|
||||
|
@ -61,7 +61,7 @@ the locale category
|
|||
.BR LC_COLLATE ,
|
||||
so is meant mostly for situations
|
||||
where the strings are expected to be in ASCII.
|
||||
|
||||
.PP
|
||||
What this function does is the following.
|
||||
If both strings are equal, return 0.
|
||||
Otherwise, find the position
|
||||
|
@ -119,7 +119,7 @@ It uses
|
|||
.BR strverscmp ()
|
||||
to compare the two strings given as its command-line arguments.
|
||||
An example of its use is the following:
|
||||
|
||||
.PP
|
||||
.in +4n
|
||||
.nf
|
||||
$ i\fB./a.out jan1 jan10\fP
|
||||
|
|
Loading…
Reference in New Issue