Overview
Comment:First version
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: fb233b4b1a11abc7c5f705448677fe06cefa43fd72fe5316be3329cd4c5bcc96
User & Date: gawthrop@users.sourceforge.net on 2001-03-27 13:47:53
Other Links: branch diff | manifest | tags
Context
2001-03-28
01:50:40
Fix for ambiguous Matrix instantiation (Octave 2.0.16). check-in: 46142f5211 user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-03-27
13:47:53
First version check-in: fb233b4b1a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:21:59
Octave version compatibility for save_ascii_data(_for_plotting). check-in: 336cfaa431 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/landscape2portrait.sh version [2711c6c9b6].

























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

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

# Bourne shell script: landscape2portrait.sh
# Converts one or more figure files from landscape mode to portrait mode

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

# Copyright (C) 2001 by Peter J. Gawthrop

figfiles=$*

for figfile in $figfiles; do
    count=`grep -c Landscape $figfile`
    if [ "$count" = "1" ]; then
       echo Converting $figfile
       mv $figfile ${figfile}.bak
       sed 's/Landscape/Portrait/'< ${figfile}.bak > $figfile
    fi
done


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