Re: A strange error message.

From: Zhuanshi He <zhuanshi.he_at_nyahnyahspammersnyahnyah>
Date: Thu, 9 Mar 2006 21:56:27 +0900

There are two reasons which may cause this kind of problem .

1. U did not add new line after key word "end" . I mean "\r" after "end"
2. The ncl script you are use is DOS/Window$ format. dos2unix can
convert the file format to Unix/Linux format.

Maybe this helps.

Z. He

On 3/8/06, Yi Wang <wang29_at_wisc.edu> wrote:
> Hi Guys:
>
> I got a strange error message as follows:
>
> "fatal:syntax error: line -1 before or near
> end
> ---^
>
>
> fatal:error in statement"
>
> I wonder where is line -1. I clear all the space after "end". It
> does not help.
>
> Yi Wang PhD
> Center for Climatic Research
> University of Wisconsin-Madison
> 1225 West Dayton Street
> Madison, WI 53706-1695
> USA
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

--
Zhuanshi He / Z. He
Email: Zhuanshi.He_at_gmail.com
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 09 2006 - 05:56:27 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 09 2006 - 08:06:36 MST