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

Re: ulimit, bash and ash



On Fri, Jan 30, 2004 at 04:40:30PM +0200, Hugo van der Merwe wrote:
> I just noticed that in bash "ulimit -u" is the same as ash's
> "ulimit -p", while bash has another meaning for "ulimit -p" ... This
> makes writing scripts quite difficult, I'd say you cannot then use
> ulimit in /bin/sh scripts, only in scripts specifically for bash or
> ash.

The POSIX specification for ulimit mentions very few options, and
indicates that the only portable-among-shells use of ulimit is to deal
with the file size limit.

  http://www.opengroup.org/onlinepubs/007904975/utilities/ulimit.html

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: