たとえば以下のend doが無いスクリプトtest.ncl
do n=1,10
print(n)
を ncl test.ncl で走らせると,
fatal:syntax error: line -1 before or near
というエラーになる.