这是本人的一段小程序, uvfit 是软件miriad的一个task, 用 sh uvfitter.sh 执行,显示
uvfitter.sh: line 24: syntax error near unexpected token `uvfit'
uvfitter.sh: line 24: ` uvfit vis=$file object=point spar=1,0,0 stokes=i \'
好象是它不认识uvfit这个东西,应该怎么办呢?这是本人第一次编shell, 哪位高人能帮帮我? :49ab:1 :49ab:1 :49ab:1
#!/bin/sh
file=sgras.uv
time1=07:26,07:32
time2=07:56,08:06
time3=08:27,08:37
for time in $time1 $time2 $time3
uvfit vis=$file object=point spar=1,0,0 stokes=i \
select=source(sgras),uvrange(25,5000),win(2),time($time)
end :