Overview
| Comment: | Now does multiple crs |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
0c29b561b7d97723e7ceb8ca5c50f053 |
| User & Date: | gawthrop@users.sourceforge.net on 1998-03-08 21:01:40.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1998-03-09
| ||
| 10:13:27 | Initial revision check-in: 0428fdd508 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
1998-03-08
| ||
| 21:01:40 | Now does multiple crs check-in: 0c29b561b7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
1998-03-07
| ||
| 16:04:23 | Added some more txt view reps: input, lbl, numpar, state check-in: cddd5427d2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/awk/lbl2cr.awk
from [e20fbf4eef]
to [3f3d82c505].
| ︙ | ︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # Copyright (c) P.J.Gawthrop, 1996. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.7 1997/04/22 12:50:15 peterg ## New much simpler version -- does not check for multiple crs -- these ## are removed later anyway. ## # Revision 1.6 1997/03/22 15:15:44 peterg # Ignores symbolic ($i) crs. # | > > > > | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # Copyright (c) P.J.Gawthrop, 1996. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.8 1998/03/06 09:15:28 peterg ## Ignores SS fields (assumes that if first field is a symbol then other ## field is and SS-style field. ## ## Revision 1.7 1997/04/22 12:50:15 peterg ## New much simpler version -- does not check for multiple crs -- these ## are removed later anyway. ## # Revision 1.6 1997/03/22 15:15:44 peterg # Ignores symbolic ($i) crs. # |
| ︙ | ︙ | |||
49 50 51 52 53 54 55 |
}
return matched;
}
BEGIN {
comment = "%";
| | | > > | | | | | > | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
}
return matched;
}
BEGIN {
comment = "%";
cr_delimiter = ";";
not_a_cr = "effort flow state internal external zero none";
is_a_SS = "internal external zero";
numeric = "[0-9]";
symbolic = "\044"; # Ascii $
symbol_count = 0;
symbols = "";
print "lin"
}
{
if ( (match($1,comment)==0) && (NF>=3) ) {
crs = $2
n_crs = split(crs,cr,cr_delimiter);
for (i = 1; i <= n_crs; i++) {
first_char = substr(cr[i],1,1);
if ( (matches(not_a_cr,cr[i])==0) &&
(match(numeric,first_char)==0) &&
(matches(is_a_SS,$3)==0))
print cr[i];
}
}
}
|