From 25878968814c23048bc7e55a93aa79bae794f20c Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 21 Mar 2008 12:51:20 +0000 Subject: Make ulimit able to get and set multiple limits in a single invocation like bash and zsh do. Requested by espie@, OK deraadt@ --- bin/ksh/ksh.1 | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'bin/ksh/ksh.1') diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index 47bfc5e5185..9331becda47 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.120 2007/05/31 20:47:44 otto Exp $ +.\" $OpenBSD: ksh.1,v 1.121 2008/03/21 12:51:19 millert Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: March 21 2008 $ .Dt KSH 1 .Os .Sh NAME @@ -4256,24 +4256,19 @@ except zero padding is used instead of space padding. .Pp .It Xo .Ic ulimit -.Op Fl acdfHlmnpSst -.Op Ar value +.Op Fl acdfHlmnpSst Op Ar value +.Ar ... .Xc Display or set process limits. If no options are used, the file size limit .Pq Fl f is assumed. .Ar value , -if specified, may be either an arithmetic expression or the word +if specified, may be either an arithmetic expression starting with a +number or the word .Dq unlimited . The limits affect the shell and any processes created by the shell after a -limit is imposed. -Note that some systems may not allow limits to be increased -once they are set. -Also note that the types of limits available are system -dependent \- some systems have only the -.Fl f -limit. +limit is imposed; limits may not be increased once they are set. .Bl -tag -width 5n .It Fl a Display all limits; unless -- cgit v1.2.3