From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Gilks Date: Fri, 12 Sep 2003 13:50:10 +1200 Subject: [U-Boot-Users] Conditional 'hush' script examples anyone? In-Reply-To: <20030911091108.656A7C59E4@atlas.denx.de> References: <20030911091108.656A7C59E4@atlas.denx.de> Message-ID: <3F612652.1060909@tait.co.nz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Many thanks for that Wolfgang - most appreciated. The only thing I find a bit odd is that on my system (0.4.0) setenv is set for 6 significant characters in the command table but presumably the example you give was with a system using only 3 characters significant (unless the 'set' command is not the same as the 'setenv' command). I'll be parsing the command tables to remove all the commands that return "Sorry, but the xxxxx command has not been implemented" such as 'spiinfo' since they should either work or be conditionally compiled out if the user hasn't requested them. That being the case I'll send in a patch against 0.4.0 when I've tidied up these anomalies Wolfgang Denk wrote: > > See http://www.denx.de/twiki/bin/view/DULG/CommandLineParsing#Section_12.1.7.3. > -- 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