#!/p/kd/fdc/solaris9/wermit .problems = 0 define xx { { \%* } if fail increment problems } cd ~fdc/public_html/net/scripts/ilo if fail exit 1 xx copy ~fdc/net/shrimp/ilosetup . xx copy ~fdc/net/shrimp/ilodomany . xx chmod 755 ilo* cd ~fdc/public_html/net/scripts/cbx if fail exit 1 xx copy ~fdc/net/cbx/config . xx copy ~fdc/net/cbx/poll . xx copy ~fdc/net/cbx/lex . xx copy ~fdc/net/cbx/ffe/master . xx copy ~fdc/net/cbx/ext.sh . xx copy ~fdc/net/cbx/fac.sh . xx copy ~fdc/net/cbx/usr.sh . xx copy ~fdc/net/cbx/lex.sh . rename /replace:{{.sh}{.shell}} *.sh xx chmod 755 * cd ~fdc/public_html/net/scripts/ dir /recursive /nobackup echo Problems: \m(problems) exit \m(problems) .