From f80bc2b5f6dc4c6aa58da88e075a588988807afb Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 5 Jan 2010 16:29:35 +0000 Subject: 27566: add ulimit -c hard and immediate return on argument error --- Doc/Zsh/builtins.yo | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'Doc/Zsh/builtins.yo') diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 5ca4ae612..cc771096a 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1710,13 +1710,18 @@ cindex(limits, resource) item(tt(ulimit) [ [ tt(-SHacdfilmnpqstvx) | tt(-N) var(resource) [ var(limit) ] ... ])( Set or display resource limits of the shell and the processes started by the shell. The value of var(limit) can be a number in the unit specified -below or the value `tt(unlimited)'. By default, only soft limits are -manipulated. If the tt(-H) flag is given use -hard limits instead of soft limits. If the tt(-S) flag is given -together with the tt(-H) flag set both hard and soft limits. If no -options are used, the file size limit (tt(-f)) is assumed. If -var(limit) is omitted the current value of the specified resources are -printed. When more than one resource values are printed the limit name and +below or one of the values `tt(unlimited)', which removes the limit on the +resource, or `tt(hard)', which uses the current value of the hard limit on +the resource. + +By default, only soft limits are manipulated. If the tt(-H) flag +is given use hard limits instead of soft limits. If the tt(-S) flag is given +together with the tt(-H) flag set both hard and soft limits. + +If no options are used, the file size limit (tt(-f)) is assumed. + +If var(limit) is omitted the current value of the specified resources are +printed. When more than one resource value is printed, the limit name and unit is printed before each value. When looping over multiple resources, the shell will abort immediately if -- cgit 1.4.1