I have a file which I'd like to parse to extract certain values from it. I don't know what command and syntax I should use (maybe
Below are 2 sample lines which I might expect to find in the file. What I need is the value of
xyz respectively in the example) as well as the value of
factories xmi:type="resources.url:URL" xmi:id="" name="1234" jndiName="xyz_aBC" factories xmi:type="resources.url:URL" xmi:id="URL_1323780357724" name="xyz" jndiName="abc"
If I use
sed, how would I apply it in this situation?