bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] bash(1): ulimit: mention 512-vs-1024 byte sizes with -c/-f in PO


From: Mike Frysinger
Subject: [PATCH] bash(1): ulimit: mention 512-vs-1024 byte sizes with -c/-f in POSIX mode
Date: Fri, 5 Jun 2015 06:51:49 -0400

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 <robbat2@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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]