summaryrefslogtreecommitdiffstats
path: root/docs/bfs.1
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-08-15 14:30:17 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-08-15 14:30:17 -0400
commitd49e44a5e55d834a609753b113d6055a056c4091 (patch)
tree5279965e317a3a8d16410c7bce9f12a0ead4832e /docs/bfs.1
parent83a1fab7371f59df7af4175d731590305fb149a1 (diff)
downloadbfs-d49e44a5e55d834a609753b113d6055a056c4091.tar.xz
docs/bfs.1: Clarify the effects of $POSIXLY_CORRECT
Diffstat (limited to 'docs/bfs.1')
-rw-r--r--docs/bfs.123
1 files changed, 22 insertions, 1 deletions
diff --git a/docs/bfs.1 b/docs/bfs.1
index 1ffebf4..f817c0a 100644
--- a/docs/bfs.1
+++ b/docs/bfs.1
@@ -811,10 +811,31 @@ Makes
.B bfs
conform more strictly to the POSIX.1-2017 specification for
.BR find (1).
-Currently this just disables warnings by default.
+Currently this has two effects:
+.RS
+.IP \(bu
+Disables warnings by default, because POSIX prohibits writing to standard error (except for the
+.B \-ok
+prompt), unless the command also fails with a non-zero exit status.
+.IP \(bu
+Makes
+.B \-ls
+and
+.B \-fls
+use 512-byte blocks instead of 1024-byte blocks.
+(POSIX does not specify these actions, but BSD
+.BR find (1)
+implementations use 512-byte blocks, while GNU
+.BR find (1)
+uses 1024-byte blocks by default.)
+.PP
It does not disable
.BR bfs 's
various extensions to the base POSIX functionality.
+.B POSIXLY_CORRECT
+has the same effects on GNU
+.BR find (1).
+.RE
.SH EXAMPLES
.TP
.B bfs