From 352b9eaf4479d204c617c68744de9ba075078308 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 21 Mar 2020 11:48:06 -0400 Subject: Implement -s flag from FreeBSD find to sort results --- bfs.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bfs.1') diff --git a/bfs.1 b/bfs.1 index 5322f3c..64c03b2 100644 --- a/bfs.1 +++ b/bfs.1 @@ -101,6 +101,13 @@ names. Search in post-order (same as .BR \-depth ). .TP +.B \-s +Visit directory entries in sorted order. +The sorting takes place within each directory separately, which makes it different from +.B bfs ... | +.BR sort , +but still provides a deterministic ordering. +.TP .B \-x Don't descend into other mount points (same as \fB\-xdev\fR). .TP -- cgit v1.2.3