File mttroot/mtt/bin/trans/multi_command2 artifact 1736d74891 part of check-in 4bccf60e71


#! /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$
###############################################################

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


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