uboot parsing

Ajit Phadnis ajitsp2001 at gmail.com
Sun Apr 19 17:49:27 AEST 2015


Hi Folks,

Would like to how to store the response command of a run command


=>setenv addr  'ping 192.172.24.24'

=>setenv ping_resp 'run  addr'

Would to store the outcome of  "run addr" in into a variable and grep for
the characters or string in Uboot.

// Expecting the output as ping response string and parse the outcome with
grep !!
=> echo $ping_respone


-- 
Thanks,
Ajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150419/04e2e5b5/attachment.html>


More information about the Linuxppc-dev mailing list