The change POSIX mode doc discusses these differences, but it would be useful if the ulimit section also contained the minor note about the differences in sizes for the -c/-f flags.
Reported-by: Robin Johnson <robb...@gentoo.org> --- doc/bash.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/bash.1 b/doc/bash.1 index 7033a98..3a27f12 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -10166,7 +10166,6 @@ is assumed. Values are in 1024-byte increments, except for which is in seconds; .BR \-p , which is in units of 512-byte blocks; -and .BR \-P , .BR \-T , .BR \-b , @@ -10174,7 +10173,11 @@ and .BR \-n , and .BR \-u , -which are unscaled values. +which are unscaled values; and when in POSIX mode, +.BR \-c +and +.BR \-f +are 512-byte increments instead of 1024-bytes. The return status is 0 unless an invalid option or argument is supplied, or an error occurs while setting a new limit. .RE -- 2.4.1