Overview
| Comment: | No changes. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
8910c08dcf79faaed356e0a290a0ac4a |
| User & Date: | gawthrop@users.sourceforge.net on 1997-12-06 14:27:53.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1997-12-06
| ||
| 15:51:06 | Cahged order of fig args to put file first. check-in: 8b234c3323 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 14:27:53 | No changes. check-in: 8910c08dcf user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 12:14:39 | Put a conditional around the PS data rep to check for set arguments. check-in: 4468bac967 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/rep_txt2sh
from [819d79a4f7]
to [46329600b4].
| ︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
# Inform user
echo "Creating representations for $1_rep.tex"
# Check for old (2 arg) version and update if necessary
mtt_count=`strip_comments < $1_rep.txt | grep -c 'mtt '`
if [ "$mtt_count" = "0" ]; then
echo 'Hmm .. seems to be an old format. creating new file'
echo "Old version saved as $1_rep.txt.SAVE"
mv $1_rep.txt $1_rep.txt.SAVE
strip_comments < $1_rep.txt.SAVE |\
awk '{print "mtt", sys, $1, $2}' sys="$1" >$1_rep.txt
fi
# Execute the commands - quietly!
| > > > | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 1997/08/26 09:06:11 peterg
## Initial revision
##
###############################################################
# Inform user
echo "Creating representations for $1_rep.tex"
# Check for old (2 arg) version and update if necessary
mtt_count=`strip_comments < $1_rep.txt | grep -c 'mtt '`
if [ "$mtt_count" = "0" ]; then
echo 'Hmm .. seems to be an old format. creating new file'
echo "Old version saved as $1_rep.txt.SAVE"
mv $1_rep.txt $1_rep.txt.SAVE
strip_comments < $1_rep.txt.SAVE |\
awk '{print "mtt", sys, $1, $2}' sys="$1" >$1_rep.txt
fi
# Execute the commands - quietly!
strip_comments< $1_rep.txt | sed 's/mtt /mtt -q /' | sh
echo "Done creating representations for $1_rep.tex"
|