script to merge xml files with options

Hi,

I have a very basic knowledge of shell scripting & would like some help with a little problem I have. I sometimes use a program calle phronix & sometimes like to compare its results which are *.xml files. Which is easy enough but a friend wants to avoid typing the path to the files.
Normally I would type
./phoronix-test-suite merge-results <saved name #1> <saved name #2> <save to> which would merge the 2x files & open the save to file in the browser.
Is there a way I could write a script which would only prompt for <save names> & <save to>?
my paths are
/home/ptrbee/.phoronix-test-suite/test-results/pc1/test-1.xml /home/ptrbee/.phoronix-test-suite/test-results/pc2/test-1.xml merged.xml

Hope this is enough info & thanks in advance

ptrbee.

What's the directory name in "/home/ptrbee" ?
Is it ".phoronix-test-suite" or "phoronix-test-suite" ?

Or is "phoronix-test-suite" the name of your script and ".phoronix-test-suite" the name of directory in the absolute path to your xml files ?

tyler_durden

Hi Tyler, it is "./phoronix-test-suite"
The absolute path to the xml is " /home/ptrbee/.phoronix-test-suite/test-results/pc1/*.xml"

Ptrbee.