summaryrefslogtreecommitdiffstats
path: root/bfs.1
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-03-21 11:48:06 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-03-21 12:05:14 -0400
commit352b9eaf4479d204c617c68744de9ba075078308 (patch)
treec67cb5e4389c9ae00e3e748cd1dd8002911f44f8 /bfs.1
parentaacf8aa796c3120ff65e3c0a2cbdddcf60c1777e (diff)
downloadbfs-352b9eaf4479d204c617c68744de9ba075078308.tar.xz
Implement -s flag from FreeBSD find to sort results
Diffstat (limited to 'bfs.1')
-rw-r--r--bfs.17
1 files changed, 7 insertions, 0 deletions
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