I need to create a script shell to select some information from a XML source file.
–
From section 1:
I need to get the folowing texts:
first last
company
addr1
addr22222
addr3333
Brisbane
000
AU
12345
123
12345
email@rr.com
From section 3:
I need to get the folowing texts:
Johnathan Seagull
Sheraton Australia
207 Golden Lawn Terrace
Brisbane
4000
QL
Queensland
AU
(61)(8) 9224 7777
45232
(61)(8) 9224 7788
sheraton@au.com
We used grep, sed, awk, but when we got the information we get at the same time information from the section 1, section 2 and section 3, and we only need information from section 1 and section 3.
I really appreciate your help