Artifact 943f13e957f08aed4ac91b130acc93da96dfb5b87118922e7a50e9b72ebdeb66:


#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: m2dat

# Transforms data in .m file to just the data - ie strips the matlab stuff

# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################

echo Creating $1.dat

awk '$1 ~ /[0-9]/ && NF>0 {print} ' <$1.m  >$1.dat



MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]