lvDCOM
An EPICS support module to export LabVIEW values as process variables
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
lvDCOMApp
src
fix_xml.sh
Go to the documentation of this file.
1
#!/bin/sh
2
# $Id$
3
# @file fix_xml.sh Adjust the output of the LabVIEW ExportVIStrings() method (which is more like HTML 2.0 than XML!)
4
# @author Freddie Akeroyd, STFC ISIS Facility, UK
5
#
6
# Usage: fix_xml.sh original_lvexport.txt lvexport.xml
7
#
8
sed -e
"s/\([A-Za-z0-9][A-Za-z0-9]*=\)\([A-Za-z0-9][A-Za-z0-9]*\)/\1\"\2\"/g"
-e
"s/<FONT[^>]*>//g"
-e
"s/<LF>//g"
-e
"s/<SAME_AS_LABEL>//g"
-e
"s/<NO_TITLE[^>]*>//g"
-e
"s/<<[^>]*>>//g"
"$1"
>
"$2"
Copyright © 2013
Science and Technology Facilities Council
| Generated by
1.8.5