Overview
| Comment: | Changed -e to -f in if [ -f "$crf" ]; then -- cuased probs on SUN |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
98b60b510f61da7d9060577f598c7d50 |
| User & Date: | gawthrop@users.sourceforge.net on 2000-02-25 09:10:12.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2000-03-03
| ||
| 11:33:19 | *** empty log message *** check-in: 80b54aebd2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
2000-02-25
| ||
| 09:10:12 |
Changed -e to -f in if [ -f "$crf" ]; then -- cuased probs on SUN check-in: 98b60b510f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
2000-02-17
| ||
| 16:14:49 | *** empty log message *** check-in: 01d3aca91f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/cr_txt2r
from [3fc7846905]
to [4a1d0bf51f].
| ︙ | ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.8 1998/11/20 09:48:31 peterg ## Remove the _lower stuff -- see idf this works now. ## ## Revision 1.7 1998/04/14 17:46:28 peterg ## To avoid clashes when creating for more thsan one top level file, adds ## _lower attribute to lower lecel constitutive relationship files. ## .constitutive relationship files only in top level _constitutive | > > > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.9 2000/02/16 15:58:17 peterg ## Set level='' not $2 ## ## Revision 1.8 1998/11/20 09:48:31 peterg ## Remove the _lower stuff -- see idf this works now. ## ## Revision 1.7 1998/04/14 17:46:28 peterg ## To avoid clashes when creating for more thsan one top level file, adds ## _lower attribute to lower lecel constitutive relationship files. ## .constitutive relationship files only in top level _constitutive |
| ︙ | ︙ | |||
83 84 85 86 87 88 89 |
# Include subsystem CR files
sh $1_sub.sh 'echo ' "_cr.r" |\
awk '{
print "in \"" $1 "\";"
}' >> $crfile
| | | | | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# Include subsystem CR files
sh $1_sub.sh 'echo ' "_cr.r" |\
awk '{
print "in \"" $1 "\";"
}' >> $crfile
## if [ -z "$level" ]; then
# Copy .cr files
awk '{
if (NF>0) {
print "mtt -q -u crcopy " $1;
}
}' $1_cr.txt | sh
# Include the .cr files
# awk '{
# if (NF>0) {
# print "in \"" $1 ".cr\";"
# }
# }' $1_cr.txt >> $crfile
## list of the crs
crs=`cat $1_cr.txt`
for cr in $crs; do
crf=$cr'_cr.r'
if [ -f "$crf" ]; then
printf "\045 (%s exists)\n" $crf >> $crfile
else
printf 'in "%s.cr";\n' $cr >> $crfile
fi
done
## fi
echo 'END;' >> $crfile
fi
# Now invoke the standard error handling.
#mtt_error mtt_error.txt
|