File mtt/bin/trans/c-tidy artifact 28f2822d80 part of check-in a8cce33cfa


#! /bin/sh

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

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  1997/02/04 18:50:07  peterg
## Initial revision
##
## Revision 1.2  1996/08/20 08:26:06  peter
## Version control header added.
##
###############################################################

# Bourne shell script: c_tidy
# Tidies up C format files
# P.J.Gawthrop 14 June 1990 13 Nov 1990, 19 Nov 93, April 1994, Dec 1994, 
# June 1995
# Copyright (c) P.J.Gawthrop, 1990, 1994, 1995.

# Remove blank lines
cat $1 | \
tr -s '\012' '\012'\
>junk
mv junk $1









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