From: Pantelis Antoniou <panto@intracom.gr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: [patch #10/11] HUSH parser fixes.
Date: Fri, 16 Apr 2004 10:24:56 +0300 [thread overview]
Message-ID: <407F8A48.7010100@intracom.gr> (raw)
In-Reply-To: <20040415215453.821A1C109F@atlas.denx.de>
Wolfgang Denk wrote:
>In message <406988DC.7040408@intracom.gr> you wrote:
>
>>The following patch fixes various shortcomings in the
>>hush parser.
>>
>>1. A new test command was added. This is a simplified
>> version of the one in the sh shell.
>>
>>2. A new exit command was added which terminates the
>> current executing script.
>>
>>3. Handing of $? (exit code of last executed command), was
>> wrong. Instead of being evaluated in the proper place
>> it was evaluated once at the start of the evaluation.
>>
>> For example the following script worked like this.
>>
>> test 1 -eq 2 # set $? to 1
>> echo $? # outputs 1
>> test 1 -eq 1 # set $? to 0
>> echo $? # still outputs 1
>>
>> Now it is fixed.
>>
>
>Can you please re-submit a patch whioch included these 3 items only?
>
>
Sure, coming right up.
>>4. The simplified parser uses '(' and ')' for enclosing variables.
>> This caused problems when migrating to hush because hash uses
>> '{' and '}'. Modified to accept parentheses too.
>>
>
>Sorry, but I reject this patch. I want hush to stay as bourne shell
>compatible as possible. I'd much rather fix the simple command line
>parser to use ``${...}'' instead.
>
>
Could I at least make it a compile option?
We have a number of boards in the field that would like to upgrade
to hush without changing the configuration.
>Best regards,
>
>Wolfgang Denk
>
>
Regards
Pantelis
next prev parent reply other threads:[~2004-04-16 7:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 14:49 [U-Boot-Users] [patch #10/11] HUSH parser fixes Pantelis Antoniou
2004-04-15 21:54 ` [U-Boot-Users] " Wolfgang Denk
2004-04-16 7:24 ` Pantelis Antoniou [this message]
2004-04-18 22:44 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=407F8A48.7010100@intracom.gr \
--to=panto@intracom.gr \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.