Overview
| Comment: | Prettyfied output |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
1dd032ef39e53666554f4f825acf7887 |
| User & Date: | gawthrop@users.sourceforge.net on 1998-07-02 19:16:03.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1998-07-02
| ||
| 19:41:29 | Fixed empty port string bug - set to null string. check-in: 54ba2db2f3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 19:16:03 | Prettyfied output check-in: 1dd032ef39 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 17:16:06 | Commented out redundent code -- obsolete due to new default mechanism check-in: 69243f733c user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/alias_txt2m
from [1c722fccfe]
to [f172c72e17].
| ︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# Copyright (c) P.J.Gawthrop 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
# Inform user
echo Creating $1_alias.m
#Create the alias file complete with headers.
echo "function alias = $1_alias" > $1_alias.m
echo "%% Alias file ($1_alias.m)" >> $1_alias.m
echo "%% Generated by MTT at `date`" >> $1_alias.m
#Write out the variables
awk '{
| > > > | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# Copyright (c) P.J.Gawthrop 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 1998/07/02 09:21:55 peterg
## Initial revision
##
###############################################################
# Inform user
echo Creating $1_alias.m
#Create the alias file complete with headers.
echo "function alias = $1_alias" > $1_alias.m
echo "%% Alias file ($1_alias.m)" >> $1_alias.m
echo "%% Generated by MTT at `date`" >> $1_alias.m
#Write out the variables
awk '{
if (NF==2) {i++; print "alias."$1 "\t = \""$2"\";"}
}
END{
if (i==0) print "alias = 0;"
}' $1_alias.txt >> $1_alias.m
|
| ︙ | ︙ |