Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -9,16 +9,21 @@ # P.J.Gawthrop Oct 1989, Dec 1989, 1990, 1991, Oct 1993, Dec 1993, Jan 1994, Dec 95, Nov 1996. # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999 # Copyright (C) 2000 by Peter J. Gawthrop # Copyright (C) 2001 by Peter J. Gawthrop + ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.419 2014/04/18 02:02:08 gawthrop +## Added sum.tex representation -- this was in a very old MTT and +## summerises the structure. +## ## Revision 1.418 2013/07/19 05:40:26 gawthrop ## Added -nas (No alphabetic sort) switch in help options ## ## Revision 1.417 2008/07/22 17:37:01 geraint ## Fixed case of MTT_EXAMPLES @@ -1537,10 +1542,13 @@ #Initialise list of switches mtt_switches=''; #Initialise read dirs read_dirs='' + +#Initialise view_level +viewlevel=0 #Look for a command line argument while [ -n "`echo $1 | grep '^-'`" ]; do case $1 in -q ) @@ -2376,11 +2384,11 @@ fi fi mkdir -p MTT_work valid_files=`ls | grep -v '^MTT'` ##cp -p -u Makefile Make *.* .* MTT_work 2>/dev/null - cp -p -u -R ${valid_files} MTT_work 2>/dev/null + cp -p -u -R --force ${valid_files} MTT_work 2>/dev/null # Go to MTT_work cd MTT_work if [ -f ".octaverc" ]; then