Overview
| Comment: | Lower case names |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
0a340b14d42b0c44013d4491b904ad99 |
| User & Date: | gawthrop@users.sourceforge.net on 1998-07-25 18:50:53.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1998-07-25
| ||
| 19:16:22 | Sorted out sympar + switch variables - new sympars rep combines both check-in: 655b4b56e5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 18:50:53 | Lower case names check-in: 0a340b14d4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 18:49:00 | Now uses extended sympars -- sympar + switches check-in: e408b99c7f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/struc2switch_txt
from [5db69bad41]
to [86424fbdd0].
| ︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.1 1997/05/13 16:58:59 peterg
# Initial revision
#
###############################################################
echo Creating $1_switch.txt
rm -f $1_switch.txt
# This is the main transformation using gawk
gawk '
{
| > > > | | 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 42 |
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2 1997/06/03 15:17:09 peterg
## Changed label to MTT_SWITCH
##
# Revision 1.1 1997/05/13 16:58:59 peterg
# Initial revision
#
###############################################################
echo Creating $1_switch.txt
rm -f $1_switch.txt
# This is the main transformation using gawk
gawk '
{
if ($1=="state") {i++; if ($3=="MTT_SWITCH") print tolower($4) "\t" i};
}
END{
}
' < $1_struc.txt| sort >> $1_switch.txt
wc -l $1_switch.txt | awk '{print $1 " switches found"}'
|
| ︙ | ︙ |