Artifact f0be8702cfaebfd52dd81d4069d711272d30d862c4f33949ea34f260bfac2058:
- Executable file mttroot/mtt/bin/trans/strip_comments — part of check-in [cc4607c407] at 1998-11-18 11:29:43 on branch origin/master — Initial revision (user: gawthrop@users.sourceforge.net, size: 389) [annotate] [blame] [check-ins using]
#! /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}'