You're viewing a comment by Kevin and its responses.

Kevin Permalink
March 04, 2014, 23:40

There's probably an easier way than this, but...

Command: sed -n '/bootcmd=run /{s/bootcmd=run \(.*\)/\1/;p;}' sedtemp.txt

File: cat sedtemp.txt
not it
not it2
not it3
bootcmd=run sdboot3
not the line
nte the droid your looking fO
bootcmd=run sdbootanotherone
r

Output:
sdboot3
sdbootanotherone

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "coding_273": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.