freebsd-nq/bin/ls
Aymeric Wibo e2662256cd ls(1): add a -v flag to sort naturally
Add a -v flag for ls which sorts entries following a natural ordering
using strverscmp(3) (e.g. "bloem1 bloem9 bloem10" as opposed to
"bloem1 bloem10 bloem9").

Update the manual page and add a test case.

Reviewed by:	pauamma, bcr
Tested by:	pstef
Differential Revision:	https://reviews.freebsd.org/D36407
2022-10-31 00:00:42 +01:00
..
tests ls(1): add a -v flag to sort naturally 2022-10-31 00:00:42 +01:00
cmp.c ls(1): add a -v flag to sort naturally 2022-10-31 00:00:42 +01:00
extern.h ls(1): add a -v flag to sort naturally 2022-10-31 00:00:42 +01:00
ls.1 ls(1): add a -v flag to sort naturally 2022-10-31 00:00:42 +01:00
ls.c ls(1): add a -v flag to sort naturally 2022-10-31 00:00:42 +01:00
ls.h
Makefile
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
print.c Handle NULL return from localtime(3) in ls(1) and find(1) 2022-09-09 14:30:42 -07:00
util.c ls(1): add a -v flag to sort naturally 2022-10-31 00:00:42 +01:00