Re: ulimit, bash and ash

2004-01-30 Thread Paul Morgan
On Fri, 30 Jan 2004 11:08:59 -0500, Paul Morgan wrote: > On Fri, 30 Jan 2004 16:40:30 +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

Re: ulimit, bash and ash

2004-01-30 Thread Paul Morgan
On Fri, 30 Jan 2004 16:40:30 +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

Re: ulimit, bash and ash

2004-01-30 Thread Colin Watson
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,

ulimit, bash and ash

2004-01-30 Thread Hugo van der Merwe
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. Just a thought, posted in ca