The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
script needed to merge two files and report differences richsark Shell Programming and Scripting 8 03-09-2009 04:11 PM
Merge files of differrent size with one field common in both files using awk shashi1982 Shell Programming and Scripting 2 03-03-2009 07:12 AM
Merge two files in windows using perl script kunal_dixit Shell Programming and Scripting 1 07-28-2008 02:39 PM
merge files koti_rama Shell Programming and Scripting 5 12-24-2007 10:59 PM
shell script to merge files arya Shell Programming and Scripting 1 10-22-2002 01:12 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-08-2009
ptrbee ptrbee is offline
Registered User
  
 

Join Date: May 2009
Posts: 2
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.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0