Hey Guys,
I'm new here so... nice to meet you all

I would like to know if someone can help me out...
I'm using CentOS 5.5 And I want to write a script that gives me two phrases from a .txt file.
untill now, no problem, but... here is the "Tricky" part, the file looks something like this:
<cell data blah blah blah>
<blah="something" blah="some" bla="something">
<blah=something blah="I-WANT-THIS-PHRASE" Blah="something>
< blah blah blah blah="something" blah blah="I-WANT-THIS-PHRASE-2">
now, the thing is that i want the sed or awk or what ever not only to 'egrep' me those phrases but i want it to (>) to a file and in the file i will see in one line (in this specific order): I-WANT-THIS-PHRASE I-WANT-THIS-PHRASE-2
Hope you could help me out here

Thanks alot!
un4get.