File mttroot/mtt/bin/mtt_rename_all artifact 2428ae4c1a part of check-in 8553f17d95


#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: mtt_rename_all

# P.J.Gawthrop Jan 1998
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.7  2000/03/17 11:50:18  peterg
## Added pic.fig -- schematic
##
## Revision 1.6  1998/07/22 15:20:06  peterg
## Added state.txt
##
## Revision 1.5  1998/04/13 09:15:36  peterg
## Added obspar
##
## Revision 1.4  1998/03/27 07:38:32  peterg
## simpar.r ---> simpar.txt
##
## Revision 1.3  1998/03/26 14:47:43  peterg
## Addes subs and cr
##
## Revision 1.2  1998/03/02 17:14:06  peterg
## Added simpar to list
##
## Revision 1.1  1998/01/06 13:57:59  peterg
## Initial revision
##
###############################################################

old_name=$1
new_name=$2

mtt_rename $old_name $new_name _abg.fig
mtt_rename $old_name $new_name _cr.r
mtt_rename $old_name $new_name _desc.tex
mtt_rename $old_name $new_name _input.txt
mtt_rename $old_name $new_name _lbl.txt
mtt_rename $old_name $new_name _logic.txt
mtt_rename $old_name $new_name _numpar.txt
mtt_rename $old_name $new_name _obspar.r
mtt_rename $old_name $new_name _odes.h
mtt_rename $old_name $new_name _rep.txt
mtt_rename $old_name $new_name _pic.fig
mtt_rename $old_name $new_name _simp.r
mtt_rename $old_name $new_name _simpar.txt
mtt_rename $old_name $new_name _sspar.r
mtt_rename $old_name $new_name _state.txt
mtt_rename $old_name $new_name _subs.r


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]