[U-Boot] [PATCH v2 8/8] sandbox: Add basic command line parsing

Mike Frysinger vapier at gentoo.org
Tue Jan 24 22:36:38 CET 2012


On Monday 23 January 2012 01:30:52 Simon Glass wrote:
> On Fri, Jan 20, 2012 at 11:05 AM, Mike Frysinger wrote:
> > i'm not sure how useful -c is since we can already do:
> >          ./u-boot <<<"some command"
> > 
> > each to their own i guess ...
> 
> I had trouble getting that to work properly, ending up with a runaway
> process. Probably we don't handle EOF correctly since we just loop
> forever.

yes, it does do that by (current) design :)

> I do think this argument is useful and it (and help) provide a
> reasonable excuse for a command line parser.

np
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120124/bdce994f/attachment.pgp>


More information about the U-Boot mailing list