linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* uboot parsing
@ 2015-04-19  7:49 Ajit Phadnis
  2015-04-19  8:50 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Ajit Phadnis @ 2015-04-19  7:49 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 737 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-19  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-19  7:49 uboot parsing Ajit Phadnis
2015-04-19  8:50 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).