#!/bin/sh

# Throwaway script for changing the interface field on
# Program pages from GDE to the bioLegato equivalent.

#The three cat/sed commands have to be run separately, in separate
# runs of GDE2biolegato.sh eg.
# GDE2bioLegato.sh dump_2010-08-08_A.1.ace new.ace
# GDE2bioLegato.sh new.ace new2.ace
# GDE2bioLegato.sh new2.ace new3.ace

#Change documentation pages to use biolegato, rather than GDE
#cat $1  | sed -e "s/^GDE	/bldna	/"| sed -e "s/^dGDE	/bldata	/"| sed -e "s/^mGDE	/blmarker	/"| sed -e "s/^tGDE	/bltree	/" |\
#cat $1 |sed -e 's/^gui	 \"gde/gui	 \"bldna/'| sed -e 's/^gui	 \"dgde/gui	 \"bldata/'| sed -e 's/^gui	 \"mgde/gui	 \"blmarker/'| sed -e 's/^gui	 \"tgde/gui	 \"bltree/' > $2

# redirect documentation files from GDE to bioLegato
#cat $1 | sed -e 's%\\/GDE\\/%\\/bioLegato\\/%' > $2

