#!/bin/sh
#

#this file gets the RXML reference file for Bluefish out of 
# http://www.roxen.com/documentation/Challenger1.2/User/appendix/index.html
cat /dev/null > RXML_tags
cat roxen.html | cut -f 5,10,15 -d \> | cut -f 1,2,3 -d \< | while read LINE ; do
   TAG=`echo $LINE | cut -f 1 -d \<`
   VARS=`echo $LINE | cut -f 2 -d \< | cut -f 2 -d \>`
   GROUP=`echo $LINE | cut -f 3 -d \< | cut -f 2 -d \>`
   echo "$GROUP:<$TAG $VARS>" >> RXML_tags
done
cat RXML_tags | sort > RXML.tmp
/usr/local/bin/rpl -q \&nbsp\; "" RXML.tmp
/usr/local/bin/rpl -q , = RXML.tmp
/usr/local/bin/rpl -q \&lt\; \< RXML.tmp
/usr/local/bin/rpl -q \&gt\;= \> RXML.tmp
/usr/local/bin/rpl -q \&gt\; \> RXML.tmp
mv RXML.tmp RXML_tags
