HomeFreeBSD

ls(1): add a -v flag to sort naturally

Description

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

Details

Provenance
obiwac_gmail.comAuthored on Oct 23 2022, 7:46 AM
pstefCommitted on Oct 30 2022, 11:00 PM
Reviewer
pauamma_gundo.com
Differential Revision
D36407: ls: `-v` flag
Parents
rG595746df6fe9: Additional diagnostic output when running fsck_ffs with debugging flag (-d)
Branches
Unknown
Tags
Unknown