All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robin Gilks <robin.gilks@tait.co.nz>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] CFG_CMD_.... configuration space running out!!
Date: Mon, 05 Jan 2004 11:21:11 +1300	[thread overview]
Message-ID: <3FF891D7.9090005@tait.co.nz> (raw)
In-Reply-To: <20031219204921.2E674C5F5F@atlas.denx.de>

Hi Wolfgang

Wolfgang Denk wrote:
> In message <3FE12B12.7070509@tait.co.nz> you wrote:
> 
>>>test *40000.4 -eq 12345678
>>>test *40000   -eq 12345678
>>>test *40000.2 -eq 1234
>>>test *40000.1 -eq 12
>>
>>As it happens, the simple_strtoul() parsing is quite happy with a 
>>trailing '.' so either should code up easily enough. Thanks for the input...
> 
> 
> Do NOT do it this way. Command modifiers on the arguments is silly.
> 
> I will reject anything like that.

I'm not modifying the command but I _AM_ modifying the parameters to it. 
  The idea was to be able to specify the width of either the left- or 
right-hand-side of the test expression (or both).

What I'll do instead is (as you also suggested to avoid future clashes) 
is change the name and make the command do a test of specified width (as 
defined by a command modifier) - it will still do what I wanted but not 
in the same flexible way I had envisaged.

Happy New Year!!

-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks at tait.co.nz
New Zealand

  reply	other threads:[~2004-01-04 22:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17 23:08 [U-Boot-Users] CFG_CMD_.... configuration space running out!! Robin Gilks
2003-12-18  2:07 ` Jon Diekema
2003-12-18  4:20   ` Robin Gilks
2003-12-19 20:49     ` Wolfgang Denk
2004-01-04 22:21       ` Robin Gilks [this message]
2004-01-04 23:03         ` Wolfgang Denk
2003-12-19 20:46   ` 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=3FF891D7.9090005@tait.co.nz \
    --to=robin.gilks@tait.co.nz \
    --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.