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
elegant2astra conversion
Moderators: cyao, michael_borland
-
- Posts: 2008
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: elegant2astra conversion
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
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
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.