summaryrefslogtreecommitdiff
path: root/Dragon/data/g2s_prestation.save
blob: 368f56597cba89d62045a00601288c6e8368522b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
if [ $# = 0 ]
   then
   echo "usage: g2s_prestation.save directory" 1>&2
   exit 1
fi
echo "access g2s_prestation.save"
MACH=`uname -s`
Sysx="`echo $MACH | cut -b -6`"
if [ $Sysx = "CYGWIN" ]; then
   MACH=`uname -o`
elif [ $Sysx = "AIX" ]; then
   MACH=`uname -s`
else
   MACH=`uname -sm | sed 's/[ ]/_/'`
fi
ls -l
mv *.dat $1/"$MACH"
mv *.ps $1/"$MACH"
mv *.m $1/"$MACH"
echo "g2s_prestation.save completed"