Overview
Comment:Piped errors to /dev/null to prevent complaints from ls about non-existent files.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 71ad7f6cb38a592b73d1466f4d5c7f7fdf46e9f4e3b70994c88232136c22832e
User & Date: geraint@users.sourceforge.net on 2004-08-26 16:17:25
Other Links: branch diff | manifest | tags
Context
2004-08-26
16:19:30
Converts dia and fig bond graphs to postscript format. check-in: 75c1ec2585 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:17:25
Piped errors to /dev/null to prevent complaints from ls about non-existent files. check-in: 71ad7f6cb3 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:15:40
Counts abg.m instead of fig files so that dia models are also included. check-in: 5438f2e9df user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/multi_command2 from [407726c4d3] to [fe1c490646].

12
13
14
15
16
17
18



19
20
21
22
23
24
25
26
27
28
29
30
31
# Each command is of the form $1 $2_*_$3 > $2_*_$4

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.2.4.1  2001/06/28 22:58:27  geraint
## Using mtt_xargs.sh to prevent Arg list too long error.
##
## Revision 1.2  1996/11/09 21:16:19  peterg
## *** empty log message ***
##
# Revision 1.1  1996/10/21  12:34:47  peterg
# Initial revision
#
###############################################################

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







>
>
>











|

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Each command is of the form $1 $2_*_$3 > $2_*_$4

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3  2001/07/13 04:54:04  geraint
## Branch merge: numerical-algebraic-solution back to main.
##
## Revision 1.2.4.1  2001/06/28 22:58:27  geraint
## Using mtt_xargs.sh to prevent Arg list too long error.
##
## Revision 1.2  1996/11/09 21:16:19  peterg
## *** empty log message ***
##
# Revision 1.1  1996/10/21  12:34:47  peterg
# Initial revision
#
###############################################################

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


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