Page 1 of 1

elegant2astra conversion

Posted: 02 Jul 2014, 14:12
by jatuporn.saisut
Hi all,
I try to convert the output of Elegant to an input for Astra (using cygwin on windows7). I get message "elegant2astra: line 79: syntax error: unexpected end of file". What should I do?

Thanks for your help,
Jatuporn

Re: elegant2astra conversion

Posted: 07 Jul 2014, 08:35
by michael_borland
Jatuporn,

I'm not able to reproduce this error on linux. Which shell are you using in cygwin? You can find out by typing "echo $SHELL".

--Michael

Re: elegant2astra conversion

Posted: 07 Jul 2014, 09:34
by soliday
That message usually means that you have windows style carrage returns in the script. However on my system, even when I convert it to windows style carrage returns, it still works. Can you cd to the directory with elegant2astra and run "dos2unix elegant2astra" this will convert the carrage returns.