File mttroot/mtt/bin/trans/multi_command2 artifact c9a8d61923 part of check-in abe44f2539


#! /bin/sh

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

# Bourne shell script: multi_command2

# Copyright (c) P.J.Gawthrop 1996.

# creates a list of commands - one for each file matching $2_*_$3
# Each command is of the form $1 $2_*_$3 > $2_*_$4

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.1  1996/10/21  12:34:47  peterg
# Initial revision
#
###############################################################

(ls $2*_$3 \
| sed "s/\(.*_*\)$3/$1 \1$3 > \1$4 /")


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