Overview
Comment: | Updated version control mode - make it untidy. cp --> cp -u after tidy-mode . |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
98d7b8fab820db53bfa9e16910d8f7ed |
User & Date: | gawthrop@users.sourceforge.net on 1998-02-11 11:36:28 |
Other Links: | branch diff | manifest | tags |
Context
1998-02-11
| ||
19:26:03 | Added verbose (-v) mode. check-in: a8997af087 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
11:36:28 |
Updated version control mode - make it untidy. cp --> cp -u after tidy-mode . check-in: 98d7b8fab8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-02-10
| ||
13:03:36 | Now includes controller transfer function (ctf). check-in: b8c2098174 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt from [daf49362d4] to [4c17dd3cc0].
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.123 1998/02/09 13:51:04 peterg ## Fixed directory string bug. ## ## Revision 1.122 1998/02/06 15:02:26 peterg ## New default sspar -- sets all states to zero. ## ## Revision 1.121 1998/02/06 14:36:51 peterg | > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.124 1998/02/10 13:03:36 peterg ## Now includes controller transfer function (ctf). ## ## Revision 1.123 1998/02/09 13:51:04 peterg ## Fixed directory string bug. ## ## Revision 1.122 1998/02/06 15:02:26 peterg ## New default sspar -- sets all states to zero. ## ## Revision 1.121 1998/02/06 14:36:51 peterg |
︙ | ︙ | |||
642 643 644 645 646 647 648 | rm -fR $1_rep MTT_work exit fi if [ "$2" = "rep" ]; then documenttype=article # See if we are making a book -- ie representation rep on a directory | | | 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 | rm -fR $1_rep MTT_work exit fi if [ "$2" = "rep" ]; then documenttype=article # See if we are making a book -- ie representation rep on a directory isMTT_work=`pwd | grep 'MTT_work'` if [ -n "$isMTT_work" ]; then dotdot='../' fi isdirectory=`file $dotdot$1 | awk '{print $2}' | grep directory` if [ -n "$isdirectory" ]; then documenttype=book |
︙ | ︙ | |||
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 | fi echo Copying CR $2 to here from $3 find $path_name -name "$2.cr" -exec cp {} . \; fi exit fi # Tidy mode - operate in the directory MTT-work if [ "$tidy" = "tidy" ]; then mkdir -p MTT_work cp -u *_*.* MTT_work 2>/dev/null cd MTT_work if [ -z "$directory" ]; then Directory='' else Directory=$directory/MTT_work fi mtt -u -q $mtt_switches -S "$Directory" $1 $2 $3 $4 if [ "$3" != "view" ]; then echo Copying " " $1_$2.$3 | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | | 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 | fi echo Copying CR $2 to here from $3 find $path_name -name "$2.cr" -exec cp {} . \; fi exit fi # Version control VC='' if [ "$3" = "vc" ]; then tidy=untidy; case $2 in abg ) VC='ok' VCext='fig' ;; lbl ) VC='ok' VCext='txt' ;; desc ) VC='ok' VCext='tex' ;; simp ) VC='ok' VCext='r' ;; rep ) VC='ok' VCext='txt' ;; numpar ) VC='ok' VCext='txt' ;; input ) VC='ok' VCext='txt' ;; odes ) VC='ok' VCext='h' ;; sspar ) VC='ok' VCext='r' ;; *) echo Version control is not appropriate for representation $2 exit ;; esac fi # Tidy mode - operate in the directory MTT-work if [ "$tidy" = "tidy" ]; then mkdir -p MTT_work cp -u *_*.* MTT_work 2>/dev/null cd MTT_work if [ -z "$directory" ]; then Directory='' else Directory=$directory/MTT_work fi mtt -u -q $mtt_switches -S "$Directory" $1 $2 $3 $4 if [ "$3" != "view" ]; then echo Copying " " $1_$2.$3 cp -u $1_$2.$3 .. fi # Remove the MTT_work directory if very tidy if [ "$verytidy" = "verytidy" ]; then echo Removing all working files rm -rf ../MTT_work fi |
︙ | ︙ | |||
849 850 851 852 853 854 855 | nyfr) REPTYPE='data' ;; nifr) REPTYPE='data' ;; *) REPTYPE='tex' ;; esac | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 892 893 894 895 896 897 898 899 900 901 902 903 904 905 | nyfr) REPTYPE='data' ;; nifr) REPTYPE='data' ;; *) REPTYPE='tex' ;; esac ################################ # This is the main mtt programme ################################ |
︙ | ︙ |