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

Re: Question about "Depends: bash"



Hello David and *,

Am 2006-11-22 20:06:29, schrieb David Weinehall:
> On Wed, Nov 22, 2006 at 07:31:37PM +0100, Michelle Konzack wrote:
> [snip]
> >   ${#NAME}
> >   ${parameter:-word}
> >   ${parameter:=word}
> 
> These are supported in SuSv3 compliant shells too.

Ah, OK.

> 
> >   ${parameter:offset}
> >   ${parameter:offset:length}
> 
> These are not.

:-(

> >   disown
> 
> You actually use job-control in your shell-scripts?  Interesting...

Some of my scripts/programs working on all $USER serial and since
only one $USER at once is not enough, I span subprocesses and disown
it.  Each subprocess write a PID and if it terminates, it delete it.

Now, the mainprocess watch it and start only a given number of
subprocesses.  I use this since several years without any problems
on a bunch of my fileservers where I have at least 500 users/server.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: