#!/bin/sh # if [ $# = 0 ] then echo "usage: rep900_mco.save directory" 1>&2 exit 1 fi echo access rep900_mco.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 ACOMPO $1/"$MACH"/_ACompo echo "rep900_mco.save completed"