03-28-2011
There are two excellent opensource tools which already do this: XMLdiff and diffxml.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hey guys, I have two files both with two columns, I have already created an
awk code to ignore certain lines (e.g lines that start with 963) as they wou
ld begin with a certain string, however, the rest I have added together and
calculated the average.
At the moment the code also displays... (3 Replies)
Discussion started by: chlfc
3 Replies
2. Shell Programming and Scripting
Hi guys,
I need some help to come out with a solution . I have seven such files but I am showing only three for convenience.
filea
a5 20
a8 16
fileb
a3 42
a7 14
filec
a5 23
a3 07
The output file shoud contain the data in table form showing first field of... (7 Replies)
Discussion started by: smriti_shridhar
7 Replies
3. Shell Programming and Scripting
Hello,
I am strugling from quite a some time to compare flat files with over 1 million records could anyone please help me.
I want to compare two pipe delimited flat files, file1 with file2 and output the unmatched rows from file2 in file3
Sample File1:
... (9 Replies)
Discussion started by: suhaeb
9 Replies
4. Shell Programming and Scripting
You have two files to compare by searching keyword from one file into another file
File A
23 >pp_ANSWER
24 >aa hello
25 >jau head wear
66 >jss oops
872 >aqq olps ploww oww sss
722 >GG_KILLER
..... large files
File B
Beta done
KILLER
John Mayor
calix meyers
... (5 Replies)
Discussion started by: cdfd123
5 Replies
5. Shell Programming and Scripting
Hi....I'm having 2 xml files, one is having some special characters and another is a clean xml file does not have any special characters. Now I need one audit kind of file which will show me only from which line the special characters have been removed and the special characters.
Can you please... (1 Reply)
Discussion started by: Krishanu Saha
1 Replies
6. Shell Programming and Scripting
Hi,
I have multiple files that each contain one column of strings:
File1:
123abc
456def
789ghi
File2:
123abc
456def
891jkl
File3:
234mno
123abc
456def
In total I have 25 of these type of file. (5 Replies)
Discussion started by: owwow14
5 Replies
7. UNIX for Dummies Questions & Answers
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (1 Reply)
Discussion started by: sravanreddy
1 Replies
8. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
i am trying to compare two files in Centos 6.
F1: /tmp/d21
NAME="xvda" TYPE="disk" SIZE="40G" OWNER="root" GROUP="disk" MODE="brw-rw----" MOUNTPOINT=""
NAME="xvda1" TYPE="part" SIZE="500M" OWNER="root" GROUP="disk" MODE="brw-rw----" MOUNTPOINT="/boot"
NAME="xvda2" TYPE="part"... (2 Replies)
Discussion started by: balu1234
2 Replies
LEARN ABOUT DEBIAN
xgfmerge
XGFMERGE(1) General Commands Manual XGFMERGE(1)
NAME
xgfmerge - merges two Xgridfit program files
SYNOPSIS
xgfmerge [options] file-a file-b [...]
DESCRIPTION
Xgfmerge merges two or more Xgridfit program files, where file-a is a program generated automatically from an existing font using TTX and
ttx2xgf, and file-b and any other files in the list contain other programming for the font. Xgfmerge outputs the merged programming to
stdout. To capture the output in a file, use this syntax:
$xgfmerge -o merged-file.xgf file-a.xgf file-b.xgf
Note: To merge Xgridfit instructions with those already in a font, the best method is now to run Xgridfit in merge-mode (option -m).
OPTIONS
-c Look for a <default type="compile-globals"/> element in each file after the first in the list. If value="no" then ignore all
<default>, <control-value>, <function>, <macro> and <pre-program> elements in the file.
-h Display a help message.
-n Merge <no-compile> elements from all files. <glyph> elements with duplicate "ps-name" attributes are ignored.
-o file
The file to write the output to. If this option is not used, output is written to stdout.
-p When a <pre-program> element in a file other than file-a is available, use it instead of the one from file-a. If this option is not
present, xgfmerge merges the programming in the <pre-program> of file-a with that in the <pre-program> of whichever file is being
merged at the moment. The result is unlikely to be good if a single run of xgfmerge merges the contents of more than two <pre-
program> elements.
-s Sort <glyph> elements in the output file into alphabetical order.
-v Verbose output: xgfmerge tells you what it is doing at each step.
-x Resolve XIncludes before merging all files in the list except for file-a. Any XIncludes from file-a.xgf are stripped out of the
files before this operation is performed. If XInclude is used to bring global elements (<control-value>, <function>, etc.) into
these files, it is probably a good idea to use the -c option as well.
FILES
/usr/share/xml/xgridfit/util/merge.xsl
An XSLT script that performs the merge.
/usr/share/xml/xgridfit/util/xinclude.xsl
An XSLT script that strips out unwanted XIncludes.
/usr/share/xml/xgridfit/util/sort-glyphs.xsl
An XSLT script that sorts glyph elements in a file.
/usr/share/xml/xgridfit/utils/add-blanks.sed
Does some formatting of the output.
SEE ALSO
xgridfit(1), ttx(1), ttx2xgf(1).
AUTHOR
Xgfmerge was written by Peter Baker <psb6m@virginia.edu>.
This manual page was written by Peter Baker
2009-12-18 XGFMERGE(1)