For example; 
I have a long file which contains: 

```
Somestring anotherstring -xone xcont othertring -yone ycont againother \
-detail "detail Contents within quote" stuff morestuff .. 

Somestring anotherstring -xone xcont othertring -yone ycont againother \
morestrings -detail detailCont morestrings etc.. .. 

```

The desired out: 

```
-xone xcont
-ycont ycont
-detail "detail Contents withing quote" 

```

Would be ideal to have a csv file with: 

```
xone yone detail
xcont ycont "detail Contents within quote"

```

What is the best approach to get the desired output? I have been trying with sed commands with very limited sucess. I am new to perl so didnt get far there either.. Please explain the suggested solution. 
Thanks in Advance!