> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Parv
> Sent: Monday, July 03, 2006 7:50 PM
> To: [EMAIL PROTECTED]@mgedv.net
> Cc: freebsd-questions@freebsd.org
> Subject: Re: shell scripting: help appreciated
>
> i
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Atom Powers
> Sent: Monday, July 03, 2006 5:40 PM
> Cc: freebsd-questions@freebsd.org
> Subject: Re: shell scripting: help appreciated
>
> On 7/3/06, [EMAIL PROTECTED]@mge
in message <[EMAIL PROTECTED]>,
wrote Parv thusly...
>
> in message <[EMAIL PROTECTED]>,
> wrote [EMAIL PROTECTED]@mgedv.net thusly...
> >
By the way [EMAIL PROTECTED]@mgedv.net do something about ...
Reporting-MTA: dns; mta9.adelphia.net
Arrival-Date: Mon, 3 Jul 2006 13:49:48 -0400
Receiv
in message <[EMAIL PROTECTED]>,
wrote [EMAIL PROTECTED]@mgedv.net thusly...
>
> /bin/sh stops working correctly with a content-controlled do-loop.
>
> the shell-script layout is as follows:
> (it's not that trivial, just to show the meaning)
> --
On 7/3/06, [EMAIL PROTECTED]@mgedv.net <[EMAIL PROTECTED]> wrote:
if i change the line
/bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1;
to
echo /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1;
the program loops for all records in the foo.conf correctly.
if i remove the "echo"
short and weird problem description (from my point of view):
/bin/sh stops working correctly with a content-controlled do-loop.
the shell-script layout is as follows:
(it's not that trivial, just to show the meaning)
---
/test/foo.conf