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: 8ccb71060d1ed0530eec82aba6c4db18a70470c12197f562a7c9aac847b807e3
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: ca18b01ca5 user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-03-27
13:47:53
First version check-in: 8ccb71060d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:21:59
Octave version compatibility for save_ascii_data(_for_plotting). check-in: 1f42af64c9 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 ]