On Wed, Sep 25, 2002 at 09:56:34AM +0300, Shlomi Fish wrote:
> 
> Check:
> 
> http://t2.technion.ac.il/~shlomif/fetchweb
> 
> My problem is that proc_args does not return the new command line.

You probably meant 'test' and not expr in line 54.
expr, besides setting the return value, also outputs (0 or 1 in
this case). This output becomes part of parse_args' output.
I never saw expr used as a 'condition evaluator', only as an
'arithmetic evaluator'. test(1) is better and is what is usually used
(and is also a builtin in bash).

        Didi

> 
> Regards,
> 
>       Shlomi Fish
> 
> 
> 
> ----------------------------------------------------------------------
> Shlomi Fish        [EMAIL PROTECTED]
> Home Page:         http://t2.technion.ac.il/~shlomif/
> Home E-mail:       [EMAIL PROTECTED]
> 
> "Let's suppose you have a table with 2^n cups..."
> "Wait a second - is n a natural number?"
> 
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to