TTX2XGF(1) General Commands Manual TTX2XGF(1)NAME
ttx2xgf - extracts instructions from a TTX file and creates an Xgridfit program.
SYNOPSIS
ttx2xgf [options] infile[.ttx] [outfile]
DESCRIPTION
ttx2xgf is a utility that extracts instructions (hints) and other information relating to instructions from a TTX file (an XML representa-
tion of a TrueType font) and creates a new Xgridfit program.
If infile lacks the .ttx extension, it is assumed. If outfile is not given, output is written to infile.xgf.
OPTIONS --config
Path to a configuration file (relative paths are permitted). If this is not given, ttx2xgf will look first for a file config.xml in
the current directory, next in the user's Xgridfit configuration directory, and finally in the Xgridfit base directory.
-e Display diagnostic messages (for debugging).
-E, --elapsed-time
Time the running of this program and display the result.
--processor=libxslt|lxml|xsltproc|saxon-6|saxon-9|xalan-j|xalan-c|4xslt
Select a preferred XSLT processsor; ttx2xgf will use this one if possible.
FILES
/usr/share/xml/xgridfit/util/convert-ttx.xsl
An XSLT script that performs the initial conversion.
/usr/share/xml/xgridfit/util/convert-asm.sed
A Sed script that completes the conversion.
SEE ALSO xgridfit(1), xgfconfig(1), ttx(1)AUTHOR
ttx2xgf was written by Peter Baker <psb6m@virginia.edu>.
This manual page was written by Peter Baker
2009-12-18 TTX2XGF(1)
Check Out this Related Man Page
XGFUPDATE(1) General Commands Manual XGFUPDATE(1)NAME
xgfupdate - updates an Xgridfit program file to the latest version.
SYNOPSIS
xgfupdate file
DESCRIPTION
Xgfupdate is a utility that updates an Xgridfit program file so that it validates against the current xgridfit.rnc schema. Xgfupdate out-
puts the updated file to stdout. To capture the output in a file, use this syntax:
$xgfupdate [options] infile > outfile
OPTIONS -h Display a help message and exit.
-v 1|2 Choose a mode in which to run Xgfupdate. "1" updates an Xgridfit program so that it will validate against the 2.0 schema. "2"
updates an Xgridfit program from version 1.x or 2.0 to version 2.1 by adding the Xgridfit namespace; it also revises XInclude
elements to be aware of the Xgridfit namespace.
FILES
/usr/share/xml/xgridfit/util/xgf-update.xsl
/usr/share/xml/xgridfit/util/xgf-add-namespace.xsl XSLT scripts that do the updating.
/usr/share/xml/xgridfit/util/add-blanks.sed
A Sed script that does some formatting of the output.
SEE ALSO xgridfit(1).
AUTHOR
Xgfupdate was written by Peter Baker <psb6m@virginia.edu>.
This manual page was written by Peter Baker
2009-12-18 XGFUPDATE(1)
I am having problems with the following "sed" command only when it is issued within a bash script.
#!/bin/bash
cat config.xml | sed -e 's/yes/no/g' > newconfig.xml
When I enter this command from the command line it works like a charm, but when run in a script as shown it "zero's out" my... (2 Replies)
I have a few xml files and I want to input say 5 parameters within each file. is it possible to do so with sed?
<parameter>A</parameter>
<parameter>B</parameter>
....
....
And so on.
These parameters are meant to go in just inside:
<?xml... (2 Replies)
i am substituting some text in the xml file using sed, on shell directly it works fine, but when i run it inside script file, it say, the function cant be parsed, i think the prob is due to xml file, kindly help (4 Replies)
Hi,
I want to write a script to read all the filenames with extension .xml in a directory and pass the name of the file, one by one, to another function.
Please help me out.
Regards.
Saurabh (3 Replies)
Hi All,
I have this(.xml) file as:
<!-- define your instance here -->
<instance name='ins_C2Londondev' user='' group='' fullname='B2%20-%20London%20(dev)' >
<property>
</property>
</instance>
I want output as:
<!-- define your instance here -->
<instance... (3 Replies)
I have an xml file.
I am doing some change, say deleting line 770. File name is file.xml. I use:
sed '770d' file.xml
but this does not actually make changes in the *file* but shows the changes on standard output (screen)
if i use
$var=`sed '770d' file.xml`
echo $var > file.xml
this... (3 Replies)
i made a script to update a lot of xml files. to save me some time. Ran it and it replaced all the the files with a 0kb file. The problem i was having is that I am using sed to change xml node <doc_root>. The problem with this is it has a / in the closing xml tag and the stuff inside will also have... (4 Replies)
I have a file called config.xml, it's a simple xml file, and I need use sed/awk to erase some lines.
<machine xsi:type="unix-machineType">
<name>server1</name>
<node-manager>
<name>server1</name>
<listen-address>server1</listen-address>
</node-manager>
... (3 Replies)
Hi again!
Sed is very difficult to understand for me... :(
I have a file like this
And I'm looking for this result
I found sed '$!N;s/\n/ /' => Put Line1 and Line2 together, Line3 and Line4...
I tried |sed '$!N;s/\n*\n/ /' but it didn't work...
Thanks for your help
PS:And... (6 Replies)
Ok, so I have bunch of files that are named "orange__file_name.asm" and I want to batch rename them to "file_name.asm" I know that using "ls | sed s/orange__//" will get rid of the part of the file name I do not want. But how do I combine that with the mv command to actually do it?
Thanks
JG (5 Replies)
Hi ! I'm working into my first bash script to make some xml modification and it's going to make me crazy lol .. so I decide to try into this forum to take some ideas from people that really know about this!
This is my situation I've and xml file with a lots of positional values with another tags... (9 Replies)
Hi!
I have a problem with a script and I think Sed could resolve it, but I don't know how to do....
I have a plenty lines like that one
I would like to know how to find the attribut which is 2 fields before (with ":" as separator). :wall:
Someone how to know how to do it?
Thank you! (6 Replies)
I am installing lxml module for python on redhat
I have installed libxml2 already.
When I run for libxslt:
./configure --prefix=libxslt_folder --with-libxml-prefix=libxml2_folder
It is ok
the I run :
make
I have error:
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
I... (4 Replies)
Hi again
I have an xml file and want to remove the leading white space as it causes me issues later in my script
I see sed is possible but cant seem to get it to work
I tried
sed 's/^ *//' file.xml
output
<xn:VsDataContainer id="1U104799" modifier="update">
... (10 Replies)
Hi,
I am not familiar with shell scripting. Please help to convert xml files to csv files using xsltproc command in bash script. Find the xml sample
<?xml version="1.0"?>
-<Source xmlns="link">
<CompanyCd>DSP</CompanyCd>
<SrcSysCd>DSPS</SrcSysCd>
<CountryCd>45</CountryCd>
... (2 Replies)