next up previous
Next: Instrukcja pętli foreach Up: Skrypt ``operacyjny'' mop - Previous: Wykonanie tego skryptu na

Dodajemy w skrypcie ustawienie set echo, żeby było wiadomo, co się dzieje

if ( 1 < 1 ) then
setenv FOR005 form.mop
setenv FOR006 form.out
setenv FOR009 form.res
setenv FOR010 form.den
setenv FOR011 form.log
setenv FOR012 form.arc
setenv FOR013 form.gra
if -e form.out rm form.out
rm form.out
if -e form.arc rm form.arc
rm form.arc
if -e form.mop then
set host = `hostname`
hostname
set BIN = /userb/local/bin
if ( sun1 == nefryt ) then
if ( sun1 == gocha ) then
echo Running SUN version
Running SUN version
/userb/local/bin/mopac
endif
else
endif



Adam Liwo 2002-03-07