On 15/06/11 01:18, Tim Starling wrote:
There comes a point with every shell script project where you realise it would have been easier to use a real programming language from the start. In this case, doing it in PHP with pcntl_fork(), pcntl_exec() and pcntl_wait() would be a reasonable solution. In my experience, you can't ask the question "how do I do X in shell script" and expect to like the answer.
That is why I had to start learning perl. It is a great shell language!