Overview
Comment: | Initial revision |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
cc4607c407fd51d4042db4631ff11ecd |
User & Date: | gawthrop@users.sourceforge.net on 1998-11-18 11:29:43 |
Other Links: | branch diff | manifest | tags |
Context
1998-11-18
| ||
11:30:19 | Now strips blank lines as well check-in: 3cc2fa6c12 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
11:29:43 | Initial revision check-in: cc4607c407 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:53:38 |
Put in some more "IF MTTNx>0 THEN" to avoid error messages when no states. check-in: a2b1569fe0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/bin/trans/strip_comments version [f0be8702cf].
> > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: strip_comments # Strips comments from mtt text files # P.J.Gawthrop July 1997 # Copyright (c) P.J.Gawthrop, 1997. sed 's/%/#/' |\ awk --field-separator '#' '{if (length($1)>0) print $1}' |\ awk '{if (NF>0) print $0}' |